fix(argo-workflows): missing artifact GC rbac (#1680)

According to the documentation:
https://argoproj.github.io/argo-workflows/walk-through/artifacts/#artifact-garbage-collection

Signed-off-by: danmx <daniel@iziourov.info>

Signed-off-by: danmx <daniel@iziourov.info>
Co-authored-by: Jason Meridth <jmeridth@gmail.com>
This commit is contained in:
Daniel Iziourov 2022-12-02 14:49:50 +01:00 committed by GitHub
parent 462fde1f29
commit 216a52d341
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View file

@ -3,7 +3,7 @@ appVersion: v3.4.4
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.21.0 version: 0.22.0
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
sources: sources:
@ -13,4 +13,4 @@ maintainers:
url: https://argoproj.github.io/ url: https://argoproj.github.io/
annotations: annotations:
artifacthub.io/changes: | artifacthub.io/changes: |
- "[Removed]: Deprecated Role permission" - "[Fixed]: Missing Artifact GC permissions"

View file

@ -42,6 +42,7 @@ rules:
- argoproj.io - argoproj.io
resources: resources:
- workflowtasksets - workflowtasksets
- workflowartifactgctasks
verbs: verbs:
- list - list
- watch - watch
@ -49,6 +50,7 @@ rules:
- argoproj.io - argoproj.io
resources: resources:
- workflowtasksets/status - workflowtasksets/status
- workflowartifactgctasks/status
verbs: verbs:
- patch - patch
{{- end }} {{- end }}