-
Notifications
You must be signed in to change notification settings - Fork 129
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
helm 3 cannot find crds #537
Comments
Hm. Ok, this is ugly. helm 3 doesn't support templating crds. Which means moving the crds becomes backwards incompatible with |
I'm new to this chart and this issue makes me think: What is the procedure to update the CRDs? I like the way Rancher does this, they provide a separate helm chart to install/update CRDs. See for example https://github.com/rancher/charts/tree/dev-v2.10/charts/rancher-monitoring-crd/105.1.3%2Bup61.3.2. |
That does seem like a more elegant solution. There do not seem to be enough knobs to only create the crds in the current chart ( The current view is that the lack of the ability to update CRDs via helm leans towards keeping them in a templates directory. |
The current behavior (having the CRDs as a template) is beneficial for the ordinary user as it makes sure the CRDs are upgraded automatically along with the operator through the helm chart. If you need to manage the CRDs in another way, set the You can fetch the CRDs for a given version of the operator by running: CNPG_VERSION=1.25.1
kustomize build https://github.com/cloudnative-pg/cloudnative-pg/config/helm/\?ref\=v$CNPG_VERSION > crds.yaml |
Would you be open to a pr that adds conditionals for |
Why? What would it improve? What bug would it fix? |
The one where the chart currently create It's bit a non-ideal, and makes the chart less of a reusable building block. My goal is have a reusable stack to that configure a cluster without an undue amount of manual steps. |
I'm sorry, but I'm missing the point. Why doesn't it work by just installing the chart? CRDs and everything else at the same time? |
Helm version:
version.BuildInfo{Version:"v3.17.1", GitCommit:"980d8ac1939e39138101364400756af2bdee1da5", GitTreeState:"clean", GoVersion:"go1.23.6"}
Chart version:
0.23.2
Without this, the crds are not installed before usage.
The text was updated successfully, but these errors were encountered: