You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error: INSTALLATION FAILED: unable to build kubernetes objects from release manifest: resource mapping not found for name: "control-center-ca-bundle" namespace: "" from "": no matches for kind "Bundle" in version "trust.cert-manager.io/v1alpha1"
ensure CRDs are installed first
as if the CRDs for trust-manager are not installed automatically. So if I put the CRDs file in the crds directory of my Chart (as I'm doing with cert-manager) I get this other error:
Error: INSTALLATION FAILED: Unable to continue with install: CustomResourceDefinition "bundles.trust.cert-manager.io" in namespace "" exists and cannot be imported into the current release: invalid ownership metadata; label validation error: missing key "app.kubernetes.io/managed-by": must be set to "Helm"
as if the CRDs are being installed this time.
I suppose CRDs of dependencies are installed after the templates of the Chart, but that means that I can't use Bundle in my templates and it kinda defeats the purpose of a dependency.
With cert-manager this does not happen since CRDs installation is disabled by default and I have the CRDs file in the crds directory.
Any suggestions on how to handle this?
The text was updated successfully, but these errors were encountered:
heruan
changed the title
Issue whit CRDs when having trust-manager as chart dependency
Issue with CRDs when having trust-manager as chart dependency
Jan 23, 2024
Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
If this issue is safe to close now please do so with /close.
/lifecycle stale
I'm building a Chart that has trust-manager as a dependency, since it has a template for
Bundle
:but installation fails with:
as if the CRDs for trust-manager are not installed automatically. So if I put the CRDs file in the
crds
directory of my Chart (as I'm doing with cert-manager) I get this other error:as if the CRDs are being installed this time.
I suppose CRDs of dependencies are installed after the templates of the Chart, but that means that I can't use
Bundle
in my templates and it kinda defeats the purpose of a dependency.With
cert-manager
this does not happen since CRDs installation is disabled by default and I have the CRDs file in thecrds
directory.Any suggestions on how to handle this?
The text was updated successfully, but these errors were encountered: