Skip to content

Commit

Permalink
fix: Cluster role needs to be able to create cluster roles (#192)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielpanzella authored Jul 31, 2024
1 parent 5d1e9dc commit 344b18f
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/operator/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
13 changes: 13 additions & 0 deletions charts/operator/templates/role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

0 comments on commit 344b18f

Please sign in to comment.