Replies: 1 comment 11 replies
-
You are trying to use the same Kustomization to apply both CRDs and CRs. That doesn't work, kustomize-controller gets stuck by the error you pasted here when trying to apply the CR because the CRD doesn't exist yet, and then it doesn't even try to apply the CRD. kustomize-controller even has logic to apply CRDs before CRs, but because in your case the CRDs are behind a helm chart, kustomize-controller can't know that it would need to apply the chart first, wait for helm-controller to reconcile the chart (effectively installing the CRD) and only then apply the CRs. To solve this you need 2 Kustomizations, one for installing CRDs, and one for CRs. The second must use See the examples here: https://github.com/fluxcd/flux2-kustomize-helm-example/tree/main/clusters%2Fproduction |
Beta Was this translation helpful? Give feedback.
-
I am a little confused. I have this kustomization file
but somehow the CRDs are not getting installed
Any suggestions where to dig deeper?
Beta Was this translation helpful? Give feedback.
All reactions