From 6855f180e782029cb5a3c0c1cc29f4301a7d0d01 Mon Sep 17 00:00:00 2001 From: Nuckal777 Date: Thu, 23 Jan 2025 09:49:45 +0100 Subject: [PATCH] Fix vpa-butler RBAC --- system/vpa-butler/Chart.yaml | 2 +- system/vpa-butler/templates/clusterrolebinding.yaml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/system/vpa-butler/Chart.yaml b/system/vpa-butler/Chart.yaml index ddfc6a6325e..08531aee434 100644 --- a/system/vpa-butler/Chart.yaml +++ b/system/vpa-butler/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v2 name: vpa-butler description: A Helm chart for the CCloud VPA butler -version: 0.3.10 +version: 0.3.11 appVersion: v0.4.1 home: https://github.com/sapcc/vpa_butler sources: diff --git a/system/vpa-butler/templates/clusterrolebinding.yaml b/system/vpa-butler/templates/clusterrolebinding.yaml index f2316954a4e..7623a76c6d5 100644 --- a/system/vpa-butler/templates/clusterrolebinding.yaml +++ b/system/vpa-butler/templates/clusterrolebinding.yaml @@ -9,6 +9,6 @@ roleRef: kind: ClusterRole name: vpa-butler subjects: - - kind: ServiceAccount - name: vpa-butler - namespace: kube-system +- kind: ServiceAccount + name: vpa-butler + namespace: {{ .Release.Namespace }}