From a1e6aafc511fb289b219b53abca87ecf9a202a1a Mon Sep 17 00:00:00 2001 From: shir Date: Thu, 14 Nov 2024 14:55:40 +0200 Subject: [PATCH] [src] Automatic Rollback - Ctrl support StatefulSets rolling updates - CON-30637 --- charts/ocean-kubernetes-controller/templates/clusterrole.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/ocean-kubernetes-controller/templates/clusterrole.yaml b/charts/ocean-kubernetes-controller/templates/clusterrole.yaml index 55ad9bf..04fc25d 100644 --- a/charts/ocean-kubernetes-controller/templates/clusterrole.yaml +++ b/charts/ocean-kubernetes-controller/templates/clusterrole.yaml @@ -107,8 +107,8 @@ rules: - apiGroups: ["autoscaling"] resources: ["horizontalpodautoscalers"] verbs: ["patch", "update"] -- apiGroups: [ "apps" ] - resources: [ "deployments", "daemonsets", "statefulsets", "replicasets" ] +- apiGroups: ["apps"] + resources: ["deployments", "daemonsets", "statefulsets", "replicasets"] verbs: [ "get", "list", "watch", "patch", "update" ] {{- end }} # ---------------------------------------------------------------------------