Open komapa opened 8 months ago
@komapa Would resolving https://github.com/hashicorp/consul-k8s/issues/3520 also solve this issue?
@komapa Would resolving #3520 also solve this issue?
Yes, I guess one of these will suffice but in general I am worrying that not being able to track CRDs separate from helm will be generally an anti-pattern for the consul helm chart. For our immediate needs, what of the two, yes :)
Is general, there are many reasons why you may not want to let helm install and manage your CRDs for you - it would be wonderful if that was possible for this consul chart, like it is for most other charts.
See https://helm.sh/docs/chart_best_practices/custom_resource_definitions/#method-2-separate-charts
Community Note
Is your feature request related to a problem? Please describe.
We have
skip_crds = true
to our helm chart install because we need to patch the consul-k8s CRDs (related to https://github.com/hashicorp/consul-k8s/issues/3520) and we created the CRDs more or less how they come from theconsul-k8s
release tarball. Unfortunately we got this error when installing the helm chart after creating the CRDs:Feature Description
We do manage CRDs outside of helm for many charts already and this is the first time we see the helm chart not wanting to
skip_crds = true
option charts should respect.Use Case(s)
Installing CRDs outside of the helm chart.
Contributions
We patch with kustomize like this: