From 5b80325e19ad165c53ed9ba8d8a82deecd72f84b Mon Sep 17 00:00:00 2001 From: Roi Kramer Date: Tue, 9 Jan 2024 10:48:36 +0200 Subject: [PATCH] fixed spark permissions --- charts/ocean-kubernetes-controller/Chart.yaml | 2 +- charts/ocean-kubernetes-controller/README.md | 4 ++-- .../ocean-kubernetes-controller/templates/clusterrole.yaml | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/charts/ocean-kubernetes-controller/Chart.yaml b/charts/ocean-kubernetes-controller/Chart.yaml index 22efbed..c9e4d43 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.14 +version: 0.1.15 appVersion: 2.0.39 kubeVersion: ">=1.20.0-0" maintainers: diff --git a/charts/ocean-kubernetes-controller/README.md b/charts/ocean-kubernetes-controller/README.md index c359c8f..3ff6865 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.4](https://img.shields.io/badge/Version-0.1.4-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.0.19](https://img.shields.io/badge/AppVersion-2.0.19-informational?style=flat-square) +![Version: 0.1.15](https://img.shields.io/badge/Version-0.1.15-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.0.39](https://img.shields.io/badge/AppVersion-2.0.39-informational?style=flat-square) A Helm chart for Ocean Kubernetes Controller. @@ -131,4 +131,4 @@ Kubernetes: `>=1.20.0-0` | updateStrategy | object | `{}` | | ---------------------------------------------- -Autogenerated from chart metadata using [helm-docs v1.11.2](https://github.com/norwoodj/helm-docs/releases/v1.11.2) +Autogenerated from chart metadata using [helm-docs v1.11.0](https://github.com/norwoodj/helm-docs/releases/v1.11.0) diff --git a/charts/ocean-kubernetes-controller/templates/clusterrole.yaml b/charts/ocean-kubernetes-controller/templates/clusterrole.yaml index d571da3..f579508 100644 --- a/charts/ocean-kubernetes-controller/templates/clusterrole.yaml +++ b/charts/ocean-kubernetes-controller/templates/clusterrole.yaml @@ -96,13 +96,13 @@ rules: # --------------------------------------------------------------------------- - apiGroups: ["sparkoperator.k8s.io"] resources: ["sparkapplications", "scheduledsparkapplications"] - verbs: ["get", "list", "patch", "update", "create", "delete"] + verbs: ["get", "list", "watch", "patch", "update", "create", "delete"] - apiGroups: ["wave.spot.io"] resources: ["sparkapplications", "wavecomponents", "waveenvironments"] - verbs: ["get", "list"] + verbs: ["get", "list", "watch"] - apiGroups: ["bigdata.spot.io"] resources: ["bigdataenvironments"] - verbs: ["get", "list", "patch", "update", "create", "delete"] + verbs: ["get", "list", "watch", "patch", "update", "create", "delete"] # --------------------------------------------------------------------------- # feature: controller/leader-election (high-availability) # ---------------------------------------------------------------------------