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
|
@ -2,7 +2,7 @@ apiVersion: v2
|
||||||
name: argo-workflows
|
name: argo-workflows
|
||||||
description: A Helm chart for Argo Workflows
|
description: A Helm chart for Argo Workflows
|
||||||
type: application
|
type: application
|
||||||
version: 0.15.3
|
version: 0.15.4
|
||||||
appVersion: v3.3.5
|
appVersion: v3.3.5
|
||||||
icon: https://raw.githubusercontent.com/argoproj/argo-workflows/master/docs/assets/argo.png
|
icon: https://raw.githubusercontent.com/argoproj/argo-workflows/master/docs/assets/argo.png
|
||||||
home: https://github.com/argoproj/argo-helm
|
home: https://github.com/argoproj/argo-helm
|
||||||
|
@ -15,4 +15,4 @@ maintainers:
|
||||||
- name: benjaminws
|
- name: benjaminws
|
||||||
annotations:
|
annotations:
|
||||||
artifacthub.io/changes: |
|
artifacthub.io/changes: |
|
||||||
- "[Fixed]: Adjust api version of pod disruption budget by referring to k8s version"
|
- "[Fixed]: Add missing rules for workflow role to run HTTP/plugin templates"
|
||||||
|
|
|
@ -36,6 +36,21 @@ rules:
|
||||||
- workflowtaskresults
|
- workflowtaskresults
|
||||||
verbs:
|
verbs:
|
||||||
- create
|
- 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 }}
|
||||||
|
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
Loading…
Reference in a new issue