Best practices for roles and role bindings #21508
Unanswered
christhegrand
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
What are the best practices for adding roles and role bindings within Argo? Here is my problem:
I am trying to add a role and role binding to a managed Prometheus resource in a GKE cluster so it can read some auth information from an existing secret. I need to add these files:
But when Argo tries to apply these files, I get this error:
Our Argo service account doesn't have permissions to grant these RBAC permissions to the resource. I could fix this by giving the Argo service account those permissions, but that feels wrong to me. In addition, that role file would have to be manually kubectl applied outside of Argo itself, when I'm trying to keep all of this within Argo.
What is the right thing to do here? How do I have Argo add new roles and role bindings to a resource in my cluster without also having to give the Argo service account the same permissions?
Beta Was this translation helpful? Give feedback.
All reactions