-
Notifications
You must be signed in to change notification settings - Fork 278
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
Update Kustomize to the ArgoCD Kustomize version #268
Comments
I've looked into this, and it's not as simple as it looks like. The 4.2.0 version of Kustomize uses a version of So most likely, we'll also need a change in Argo CD for this. |
Thinking a little further, maybe we should rather use fork/exec of the Kustomize binary like Argo CD does, instead of using the Kustomize API directly. |
Hi! Is there an ETA for this issue? |
+1 for an update on this. Currently writebacks for our cluster are broken with this issue. |
* fix: use kyaml to preserve kustomization fixes argoproj-labs#250 fixes argoproj-labs#268 fixes argoproj-labs#247 * chore: linter error * fix: tests and linting * go mod tidy
Is your feature request related to a problem? Please describe.
When the Image Updater updates the image tag in the
kustomization.yaml
, it can fail because some Kustomize v4.2 (the latest version used in ArgoCD) features are not supported in Kustomize v2.0 (current version used in Image Updater).Example of error with the following
kustomization.yaml
which work with ArgoCD:Error:
Describe the solution you'd like
Update the Kustomize go library to the latest used by ArgoCD.
Describe alternatives you've considered
Don't update the
kustomization.yaml
but the.argocd-source-<appName>.yaml
.The text was updated successfully, but these errors were encountered: