From 216a52d341776a68d960ef751da963f722466225 Mon Sep 17 00:00:00 2001 From: Daniel Iziourov Date: Fri, 2 Dec 2022 14:49:50 +0100 Subject: [PATCH] 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 Signed-off-by: danmx Co-authored-by: Jason Meridth --- charts/argo-workflows/Chart.yaml | 4 ++-- charts/argo-workflows/templates/controller/workflow-role.yaml | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/charts/argo-workflows/Chart.yaml b/charts/argo-workflows/Chart.yaml index 1c520bfa..e4f350fa 100644 --- a/charts/argo-workflows/Chart.yaml +++ b/charts/argo-workflows/Chart.yaml @@ -3,7 +3,7 @@ appVersion: v3.4.4 name: argo-workflows description: A Helm chart for Argo Workflows type: application -version: 0.21.0 +version: 0.22.0 icon: https://raw.githubusercontent.com/argoproj/argo-workflows/master/docs/assets/argo.png home: https://github.com/argoproj/argo-helm sources: @@ -13,4 +13,4 @@ maintainers: url: https://argoproj.github.io/ annotations: artifacthub.io/changes: | - - "[Removed]: Deprecated Role permission" + - "[Fixed]: Missing Artifact GC permissions" diff --git a/charts/argo-workflows/templates/controller/workflow-role.yaml b/charts/argo-workflows/templates/controller/workflow-role.yaml index fffb38fd..51050d0f 100644 --- a/charts/argo-workflows/templates/controller/workflow-role.yaml +++ b/charts/argo-workflows/templates/controller/workflow-role.yaml @@ -42,6 +42,7 @@ rules: - argoproj.io resources: - workflowtasksets + - workflowartifactgctasks verbs: - list - watch @@ -49,6 +50,7 @@ rules: - argoproj.io resources: - workflowtasksets/status + - workflowartifactgctasks/status verbs: - patch {{- end }}