-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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
Argocd-2.4.17 CMP plugin fails to "kustomize build ." on remote repo. Getting Error: accumulating resources due to git credentials #11318
Comments
I think this may have more to do with change in kustomize version from argo-cd v2.2 to v2.4 rather than Argo CD bug. I suggest downgrading kustomize to the version in v2.2 to verify. However, another problem is that you appear to be using the legacy URL format of resource references. Newer kustomize resource references should look like:
|
My kustomization.yaml used the following to create the manifest:
|
Checklist:
argocd version
.Describe the bug
What I have tried
HOWEVER, automatically through argo repo server, it does not work and produces the same error code shown in the logs. below.
To Reproduce
Kustomization.yaml:
namespace.yaml:
patches/argocd-cm.yaml:
patches/argocd-repo-server-deploy.yaml:
patches/argocd-resource-limites.yaml:
The application kustomization.yaml:
Note: this repo doesn't exist, i changed some of the names to protect identity.
Expected behavior
As per version 2.2.8, I except the kustomize build to create the manifest and sync the application
Screenshots
N/A
Version
Logs
Note: url changed slightly to avoid showing confidential information.
The text was updated successfully, but these errors were encountered: