From 344b18f13d645e884dfc13c746f229653a5db3b3 Mon Sep 17 00:00:00 2001 From: Daniel Panzella Date: Wed, 31 Jul 2024 16:10:34 -0700 Subject: [PATCH] fix: Cluster role needs to be able to create cluster roles (#192) --- charts/operator/Chart.yaml | 2 +- charts/operator/templates/role.yaml | 13 +++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/charts/operator/Chart.yaml b/charts/operator/Chart.yaml index 8e2eb60e..413e8624 100644 --- a/charts/operator/Chart.yaml +++ b/charts/operator/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: operator description: A Helm chart for Weights & Biases operator type: application -version: 1.2.0 +version: 1.2.1 appVersion: "1.0.0" maintainers: - name: wandb diff --git a/charts/operator/templates/role.yaml b/charts/operator/templates/role.yaml index 38c8e1a0..05d408ed 100644 --- a/charts/operator/templates/role.yaml +++ b/charts/operator/templates/role.yaml @@ -23,4 +23,17 @@ metadata: name: {{ include "name" . }}-manager-role rules: {{ toYaml .Values.role.rules | indent 2 }} + - apiGroups: + - rbac.authorization.k8s.io + resources: + - clusterroles + - clusterrolebindings + verbs: + - create + - delete + - get + - list + - patch + - update + - watch {{- end }}