26 lines
407 B
YAML
26 lines
407 B
YAML
![]() |
{{- if .Values.workflow.rbac.create -}}
|
||
|
apiVersion: rbac.authorization.k8s.io/v1
|
||
|
kind: Role
|
||
|
metadata:
|
||
|
name: {{ template "argo-workflows.fullname" . }}-workflow
|
||
|
{{- with .Values.workflow.namespace }}
|
||
|
namespace: {{ . }}
|
||
|
{{- end }}
|
||
|
rules:
|
||
|
- apiGroups:
|
||
|
- ""
|
||
|
resources:
|
||
|
- pods
|
||
|
verbs:
|
||
|
- get
|
||
|
- watch
|
||
|
- patch
|
||
|
- apiGroups:
|
||
|
- ""
|
||
|
resources:
|
||
|
- pods/log
|
||
|
verbs:
|
||
|
- get
|
||
|
- watch
|
||
|
{{- end }}
|