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:
Aikawa 2022-05-25 17:51:50 +09:00 committed by GitHub
parent ebf7a784a9
commit 5f33394042
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 17 additions and 2 deletions

View file

@ -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 }}