This is a set of Helm Charts used and maintained by Wiremind. Do not hesitate to create Pull Requests.
All charts are visible from the Artifact Hub: https://artifacthub.io/packages/search?repo=wiremind&sort=relevance&page=1
To update CRDs of a specific chart, please refer to its README.md, if there is none, just copy paste the upstream CRDs into ours.
Then run this command:
MY_CHART="mycrdschartname"
find ./charts/$MY_CHART -type f -exec sed -i -e '/creationTimestamp: null/d' {} \;
Running this command is mandatory because of this:
During the upgrade to controller-tools@v2 for v1alpha2, we noticed a failure would occur running Cluster API test suite against the new CRDs, specifically
spec.metadata.creationTimestamp in body must be removed
. The investigation showed thatcontroller-tools@v2
behaves differently than its previous version when handling types from metav1 package. \n In more details, we found that embedded (non-top level) types that embeddedmetav1.ObjectMeta
had validation properties, including forcreationTimestamp
(metav1.Time). Themetav1.Time
type specifies a custom json marshaller that, when IsZero() is true, returnsnull
which breaks validation because the field isn't marked as nullable. \n In future versions, controller-tools@v2 might allow overriding the type and validation for embedded types. When that happens, this hack should be revisited.