From e219d08abdc8a6f97a54d174a4c394902e81dfc0 Mon Sep 17 00:00:00 2001 From: Frank Hamand Date: Thu, 25 Jan 2024 13:57:37 +0000 Subject: [PATCH] Add missing patch permissions for contour RBAC Since this PR argoproj-labs/rollouts-plugin-trafficrouter-contour#53 the contour trafficrouter plugin uses `patch` not `update`. Add the `patch` permission so that the latest version of the trafficrouter plugin works Signed-off-by: Frank Hamand --- charts/argo-rollouts/Chart.yaml | 4 +++- charts/argo-rollouts/templates/controller/clusterrole.yaml | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/charts/argo-rollouts/Chart.yaml b/charts/argo-rollouts/Chart.yaml index caf26b58..9f2077ab 100644 --- a/charts/argo-rollouts/Chart.yaml +++ b/charts/argo-rollouts/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 appVersion: v1.6.4 description: A Helm chart for Argo Rollouts name: argo-rollouts -version: 2.34.1 +version: 2.34.2 home: https://github.com/argoproj/argo-helm icon: https://argoproj.github.io/argo-rollouts/assets/logo.png keywords: @@ -20,3 +20,5 @@ annotations: artifacthub.io/changes: | - kind: added description: Added Gloo Platform provider RBAC rules + - kind: fixed + description: Fixed contour trafficrouter RBAC rules missing "patch" permission diff --git a/charts/argo-rollouts/templates/controller/clusterrole.yaml b/charts/argo-rollouts/templates/controller/clusterrole.yaml index 35fd8215..f46b0cff 100644 --- a/charts/argo-rollouts/templates/controller/clusterrole.yaml +++ b/charts/argo-rollouts/templates/controller/clusterrole.yaml @@ -266,6 +266,7 @@ rules: - list - watch - update + - patch {{- end }} {{- if .Values.providerRBAC.providers.glooPlatform }} # Access needed when using the Gloo Platform provider