feat(argo): Add argo SSO/RBAC support server cluster role

Signed-off-by: krrrr38 <k.kaizu38@gmail.com>
This commit is contained in:
krrrr38 2020-12-30 18:54:54 +09:00
parent 182ef88c67
commit 69ff253ad4
2 changed files with 21 additions and 4 deletions

View file

@ -2,7 +2,7 @@ apiVersion: v2
appVersion: v2.11.7
description: A Helm chart for Argo Workflows
name: argo
version: 0.14.0
version: 0.14.1
icon: https://raw.githubusercontent.com/argoproj/argo/master/docs/assets/argo.png
home: https://github.com/argoproj/argo-helm
maintainers:

View file

@ -30,6 +30,7 @@ rules:
- serviceaccounts
verbs:
- get
- list
- apiGroups:
- ""
resources:
@ -45,6 +46,22 @@ rules:
- events
verbs:
- watch
{{- if .Values.server.sso }}
- apiGroups:
- ""
resources:
- secrets
resourceNames:
- sso
verbs:
- get
- apiGroups:
- ""
resources:
- secrets
verbs:
- create
{{- end }}
{{- if .Values.controller.persistence }}
- apiGroups:
- ""
@ -54,14 +71,14 @@ rules:
{{- with .Values.controller.persistence.postgresql }}
- {{ .userNameSecret.name }}
- {{ .passwordSecret.name }}
{{- end}}
{{- end }}
{{- with .Values.controller.persistence.mysql }}
- {{ .userNameSecret.name }}
- {{ .passwordSecret.name }}
{{- end}}
{{- end }}
verbs:
- get
{{- end}}
{{- end }}
- apiGroups:
- argoproj.io
resources: