-
Notifications
You must be signed in to change notification settings - Fork 268
ACK controller have duplicate CRD causing issues when using kustomize #2018
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
Comments
Hi! Interesting thing. I really wonder how I did not notice it, as I am using Also I would like to mention, that I had ANOTHER issue with CRDs, when upgrading Helm charts versions #2007 |
Issues go stale after 180d of inactivity. |
/remove-lifecycle stale |
I also ran into the same problem with ArgoCD. We use ArgoCD to deploy all our applications and use the ack-chart to enable all the controllers we want to deploy in our clusters. ArgoCD now displays the following for our application:
For us, the deployment of the controllers does not fail, but there is a warning in the application, but it would be great if the CRD deployment could be improved. |
Trying to do a kustomization with multiple upstream controllers fail:
|
Is your feature request related to a problem?
Yes.
To understand our issue, we are using argocd and kustomize, and we have defined an argocd application that is regrouping all ACK controller we want to use.
Basically, we use IAM, RDS, S3.
We have an issue due to kustomize, when kustomize is building the yaml, it throws an error due to CRDs duplication...
The CRDs concerned are the following:
services.k8s.aws_adoptedresources.yaml
services.k8s.aws_fieldexports.yaml
Theses CRDs are present in each helm charts, and they are exactly the same..
Step to reproduce our problem
Create your kustomize file:
Then apply:
kustomize build --enable-helm .
At this step, kustomize will fail saying that some CRDs are the same, and need to be merge or patch.
Describe the solution you'd like
Define this CRDs as helm dependencies could allow us to activate the CRD creation once.
Describe alternatives you've considered
Giving more flexibility to choose which CRDs are deployed from the helm values.
The text was updated successfully, but these errors were encountered: