From 010f0249781daa683cd960ce298f37ecd36a7368 Mon Sep 17 00:00:00 2001 From: shirbur <102898670+shirbur@users.noreply.github.com> Date: Sun, 17 Nov 2024 09:11:20 +0200 Subject: [PATCH] =?UTF-8?q?[src]=20Automatic=20Rollback=20-=20Ctrl=20suppo?= =?UTF-8?q?rt=20StatefulSets=20rolling=20updates=20=E2=80=A6=20(#158)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- charts/ocean-kubernetes-controller/Chart.yaml | 2 +- charts/ocean-kubernetes-controller/README.md | 2 +- charts/ocean-kubernetes-controller/templates/clusterrole.yaml | 3 +++ 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/charts/ocean-kubernetes-controller/Chart.yaml b/charts/ocean-kubernetes-controller/Chart.yaml index 08b66d2..97bdb76 100644 --- a/charts/ocean-kubernetes-controller/Chart.yaml +++ b/charts/ocean-kubernetes-controller/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: ocean-kubernetes-controller description: A Helm chart for Ocean Kubernetes Controller type: application -version: 0.1.56 +version: 0.1.57 appVersion: 2.0.67 kubeVersion: ">=1.20.0-0" maintainers: diff --git a/charts/ocean-kubernetes-controller/README.md b/charts/ocean-kubernetes-controller/README.md index 49cf90a..a6cc4a0 100644 --- a/charts/ocean-kubernetes-controller/README.md +++ b/charts/ocean-kubernetes-controller/README.md @@ -1,6 +1,6 @@ # ocean-kubernetes-controller -![Version: 0.1.56](https://img.shields.io/badge/Version-0.1.56-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.0.67](https://img.shields.io/badge/AppVersion-2.0.67-informational?style=flat-square) +![Version: 0.1.57](https://img.shields.io/badge/Version-0.1.57-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.0.67](https://img.shields.io/badge/AppVersion-2.0.67-informational?style=flat-square) A Helm chart for Ocean Kubernetes Controller. diff --git a/charts/ocean-kubernetes-controller/templates/clusterrole.yaml b/charts/ocean-kubernetes-controller/templates/clusterrole.yaml index 0693235..04fc25d 100644 --- a/charts/ocean-kubernetes-controller/templates/clusterrole.yaml +++ b/charts/ocean-kubernetes-controller/templates/clusterrole.yaml @@ -107,6 +107,9 @@ rules: - apiGroups: ["autoscaling"] resources: ["horizontalpodautoscalers"] verbs: ["patch", "update"] +- apiGroups: ["apps"] + resources: ["deployments", "daemonsets", "statefulsets", "replicasets"] + verbs: [ "get", "list", "watch", "patch", "update" ] {{- end }} # --------------------------------------------------------------------------- # feature: controller/leader-election (high-availability)