From 445b2757f5adb4c2144dee4b139ffe28c428f2fc Mon Sep 17 00:00:00 2001 From: Aikawa Date: Thu, 23 Jun 2022 18:29:45 +0900 Subject: [PATCH] fix(argo-workflows): add missing verbs on workflow-controller cluster role for using HTTP templates (#1327) Signed-off-by: yu-croco --- charts/argo-workflows/Chart.yaml | 4 ++-- .../controller/workflow-controller-cluster-roles.yaml | 9 +++++++++ 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/charts/argo-workflows/Chart.yaml b/charts/argo-workflows/Chart.yaml index 62c849ff..ffe40d5c 100644 --- a/charts/argo-workflows/Chart.yaml +++ b/charts/argo-workflows/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: argo-workflows description: A Helm chart for Argo Workflows type: application -version: 0.16.3 +version: 0.16.4 appVersion: v3.3.6 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: | - - "[Added]: Support for mainContainer config" + - "[Fixed]: Add missing verb on workflow-controller cluster role for using HTTP templates" diff --git a/charts/argo-workflows/templates/controller/workflow-controller-cluster-roles.yaml b/charts/argo-workflows/templates/controller/workflow-controller-cluster-roles.yaml index a726dd4b..ce1f829f 100644 --- a/charts/argo-workflows/templates/controller/workflow-controller-cluster-roles.yaml +++ b/charts/argo-workflows/templates/controller/workflow-controller-cluster-roles.yaml @@ -154,6 +154,15 @@ rules: - update - patch - delete +- apiGroups: + - "" + resources: + - secrets + verbs: + - get + resourceNames: + {{/* for HTTP templates */}} + - argo-workflows-agent-ca-certificates {{- if .Values.controller.clusterWorkflowTemplates.enabled }} ---