From 272d8392c50ac7dd0b7be8862386afb85ab5870a Mon Sep 17 00:00:00 2001 From: Aditya Choudhari <48932219+adityachoudhari26@users.noreply.github.com> Date: Mon, 30 Sep 2024 17:45:56 -0700 Subject: [PATCH] fix: Add priority class permissions (#226) --- charts/operator/Chart.yaml | 2 +- charts/operator/templates/leader-election-role.yaml | 12 ++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/charts/operator/Chart.yaml b/charts/operator/Chart.yaml index 0d9fe8f6..836b39f1 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.3.3 +version: 1.3.4 appVersion: "1.0.0" maintainers: - name: wandb diff --git a/charts/operator/templates/leader-election-role.yaml b/charts/operator/templates/leader-election-role.yaml index d0de3306..75d0bb0d 100644 --- a/charts/operator/templates/leader-election-role.yaml +++ b/charts/operator/templates/leader-election-role.yaml @@ -17,6 +17,18 @@ rules: - update - patch - delete +- apiGroups: + - scheduling.k8s.io + resources: + - priorityclasses + verbs: + - get + - list + - watch + - create + - update + - patch + - delete - apiGroups: - coordination.k8s.io resources: