Sample values.yml for argocd-helm chart to create users and grant permissions.
config:
# Argo CD's externally facing base URL (optional). Required when configuring SSO
accounts.qauser: apiKey, login
accounts.devuser: apiKey, login
accounts.adminuser: apiKey, login
.....
rbacConfig:
policy.default: role:readonly
#{}
# policy.csv is an file containing user-defined RBAC policies and role definitions (optional).
# Policy rules are in the form:
# p, subject, resource, action, object, effect
# Role definitions and bindings are in the form:
# g, subject, inherited-subject
# See https://github.com/argoproj/argo-cd/blob/master/docs/operator-manual/rbac.md for additional information.
policy.csv: |
p, role:qa, applications, *, */*, allow
p, role:dev, applications, *, */*, allow
p, role:dev, projects, *, *, allow
p, role:dev, repositories, *, *, allow
g, adminuser, role:admin
g, devuser, role:dev
g, qauser, role:qa