-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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 appset generate need clusterscope permission #20714
Comments
Where exactly do you add this? |
I added a clusterrolebinding that give secrets get/watch/list permissions to the argocd-server service account |
Hm, I don't think you can avoid giving ArgoCD server cluster scope permissions. |
Currently I deployed Argo CD using the Helm Chart without giving any clusterscope permissions, why would I need to give clusterscope permission for this feature ? |
Looks like it's trying to read some cluster-scope secret. Can you share your manifests, values files etc., please? |
Should be fixed with #20950 |
Describe the bug
When I try to generate the application templates from an applicationSet resource using the new
argocd appset generate
CLI command, I have the following error message:After adding a clusterrole/clusterrolebinding that add get/watch/list on secrets it works
To Reproduce
Launch the following command on an applicationSet manifest that use the
Cluster
generator:argocd appset generate appset.yaml
Expected behavior
Render templates without needed to give clusterscope permissions to the
argcd-server
service account. Theargocd-server
already have necessary permission to read secrets in the argocd namespaceVersion
The text was updated successfully, but these errors were encountered: