You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
FATA[0000] rpc error: code = PermissionDenied desc = unable to generate Applications of ApplicationSet: error generating applications: failed to get params for second generator in the matrix generator: child generator returned an error on parameter generation: error getting cluster secrets: secrets is forbidden: User "system:serviceaccount:argo-cd:argocd-server" cannot list resource "secrets" in API group "" at the cluster scope%0Atime="2024-11-06T20:14:43Z" level=error msg="error generating application from params" applicationset=reusable-workflows-manifests error="failed to get params for second generator in the matrix generator: child generator returned an error on parameter generation: error getting cluster secrets: secrets is forbidden: User \"system:serviceaccount:argo-cd:argocd-server\" cannot list resource \"secrets\" in API group \"\" at the cluster scope"
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. The argocd-server already have necessary permission to read secrets in the argocd namespace
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: