Skip to content
Discussion options

You must be logged in to vote

Thank you for your response.

What I learned after I posted this question is that a HelmChart resource does not install the CRD itself, but rather starts a helm install on the cluster, and that helm install ends up creating the CRDs. So, kustomize has no way of knowing that the CRD installation is included in this run.

So, I abandoned the HelmChart approach and switched to having kustomize install everything itself. For helm charts, I ended up using the kustomize HelmChartInflationGenerator resource, since it allows my to "kustomize" the chart values using environment overlays. Now, I'm not running into the error reported in my original post anymore, since the Kubernetes API sees the CRD i…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@akhayyat
Comment options

Answer selected by akhayyat
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants