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

@ -2,7 +2,7 @@ apiVersion: v2
name: argo-workflows
description: A Helm chart for Argo Workflows
type: application
version: 0.15.3
version: 0.15.4
appVersion: v3.3.5
icon: https://raw.githubusercontent.com/argoproj/argo-workflows/master/docs/assets/argo.png
home: https://github.com/argoproj/argo-helm
@ -15,4 +15,4 @@ maintainers:
- name: benjaminws
annotations:
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"

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