feat(argo): Add argo SSO/RBAC support server cluster role
Signed-off-by: krrrr38 <k.kaizu38@gmail.com>
This commit is contained in:
parent
182ef88c67
commit
69ff253ad4
2 changed files with 21 additions and 4 deletions
|
@ -2,7 +2,7 @@ apiVersion: v2
|
||||||
appVersion: v2.11.7
|
appVersion: v2.11.7
|
||||||
description: A Helm chart for Argo Workflows
|
description: A Helm chart for Argo Workflows
|
||||||
name: argo
|
name: argo
|
||||||
version: 0.14.0
|
version: 0.14.1
|
||||||
icon: https://raw.githubusercontent.com/argoproj/argo/master/docs/assets/argo.png
|
icon: https://raw.githubusercontent.com/argoproj/argo/master/docs/assets/argo.png
|
||||||
home: https://github.com/argoproj/argo-helm
|
home: https://github.com/argoproj/argo-helm
|
||||||
maintainers:
|
maintainers:
|
||||||
|
|
|
@ -30,6 +30,7 @@ rules:
|
||||||
- serviceaccounts
|
- serviceaccounts
|
||||||
verbs:
|
verbs:
|
||||||
- get
|
- get
|
||||||
|
- list
|
||||||
- apiGroups:
|
- apiGroups:
|
||||||
- ""
|
- ""
|
||||||
resources:
|
resources:
|
||||||
|
@ -45,6 +46,22 @@ rules:
|
||||||
- events
|
- events
|
||||||
verbs:
|
verbs:
|
||||||
- watch
|
- watch
|
||||||
|
{{- if .Values.server.sso }}
|
||||||
|
- apiGroups:
|
||||||
|
- ""
|
||||||
|
resources:
|
||||||
|
- secrets
|
||||||
|
resourceNames:
|
||||||
|
- sso
|
||||||
|
verbs:
|
||||||
|
- get
|
||||||
|
- apiGroups:
|
||||||
|
- ""
|
||||||
|
resources:
|
||||||
|
- secrets
|
||||||
|
verbs:
|
||||||
|
- create
|
||||||
|
{{- end }}
|
||||||
{{- if .Values.controller.persistence }}
|
{{- if .Values.controller.persistence }}
|
||||||
- apiGroups:
|
- apiGroups:
|
||||||
- ""
|
- ""
|
||||||
|
@ -54,14 +71,14 @@ rules:
|
||||||
{{- with .Values.controller.persistence.postgresql }}
|
{{- with .Values.controller.persistence.postgresql }}
|
||||||
- {{ .userNameSecret.name }}
|
- {{ .userNameSecret.name }}
|
||||||
- {{ .passwordSecret.name }}
|
- {{ .passwordSecret.name }}
|
||||||
{{- end}}
|
{{- end }}
|
||||||
{{- with .Values.controller.persistence.mysql }}
|
{{- with .Values.controller.persistence.mysql }}
|
||||||
- {{ .userNameSecret.name }}
|
- {{ .userNameSecret.name }}
|
||||||
- {{ .passwordSecret.name }}
|
- {{ .passwordSecret.name }}
|
||||||
{{- end}}
|
{{- end }}
|
||||||
verbs:
|
verbs:
|
||||||
- get
|
- get
|
||||||
{{- end}}
|
{{- end }}
|
||||||
- apiGroups:
|
- apiGroups:
|
||||||
- argoproj.io
|
- argoproj.io
|
||||||
resources:
|
resources:
|
||||||
|
|
Loading…
Reference in a new issue