feat(argo-workflows): Add option for controller to read all secrets (#1967)
This commit is contained in:
parent
dfe36fbde9
commit
22356c77af
4 changed files with 16 additions and 3 deletions
|
|
@ -187,6 +187,16 @@ rules:
|
|||
- watch
|
||||
resourceNames: {{- toYaml . | nindent 4 }}
|
||||
{{- end }}
|
||||
{{- if and (not .Values.controller.rbac.secretWhitelist) (.Values.controller.rbac.accessAllSecrets) }}
|
||||
- apiGroups:
|
||||
- ""
|
||||
resources:
|
||||
- secrets
|
||||
verbs:
|
||||
- get
|
||||
- list
|
||||
- watch
|
||||
{{- end }}
|
||||
|
||||
{{- if .Values.controller.clusterWorkflowTemplates.enabled }}
|
||||
---
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue