add rbac scopes support (#85)

pull/89/head
Minh Monmen 2019-07-23 01:11:28 +07:00 committed by Alex Collins
parent 6e108f3aae
commit c7b415b634
2 changed files with 5 additions and 0 deletions

View File

@ -16,3 +16,6 @@ data:
policy.csv:
{{- toYaml .Values.rbac.policyCsv | indent 4 }}
{{- end }}
{{- if .Values.rbac.scopes }}
scopes: {{ .Values.rbac.scopes }}
{{- end }}

View File

@ -157,6 +157,8 @@ rbac:
# g, your-github-org:your-team, role:org-admin
# The default role Argo CD will fall back to, when authorizing API requests
policyDefault: #role:readonly
# Scopes controls which OIDC scopes to examine during rbac enforcement (in addition to `sub` scope).
scopes: #[groups]
redis:
image: