fix(argo-workflows): add missing rules for workflow role to run HTTP templates (#1291)
* fix(argo-workflows): add missing rules for workflow role to run HTTP/plugin templates Signed-off-by: yu-croco <yuki.kita22@gmail.com> * chore(argo-workflows): refactor role rules simpler Signed-off-by: yu-croco <yuki.kita22@gmail.com>
This commit is contained in:
parent
ebf7a784a9
commit
5f33394042
2 changed files with 17 additions and 2 deletions
|
|
@ -36,6 +36,21 @@ rules:
|
|||
- workflowtaskresults
|
||||
verbs:
|
||||
- create
|
||||
- apiGroups:
|
||||
- argoproj.io
|
||||
resources:
|
||||
- workflowtasksets
|
||||
verbs:
|
||||
- list
|
||||
- watch
|
||||
- apiGroups:
|
||||
- argoproj.io
|
||||
resources:
|
||||
- workflowtasksets/status
|
||||
{{/* TODO: This resource is for app version <= v3.2, so please remove it when app version v3.2 is no more used. */}}
|
||||
- workflowtasksets
|
||||
verbs:
|
||||
- patch
|
||||
{{- end }}
|
||||
|
||||
{{- end }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue