From c2642baeb730d88f86147cd54e0744146a50f25a Mon Sep 17 00:00:00 2001 From: nicktrn <55853254+nicktrn@users.noreply.github.com> Date: Wed, 25 Jun 2025 12:09:20 +0100 Subject: [PATCH] scope cluster role to namespace to support multiple installs --- hosting/k8s/helm/templates/_helpers.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hosting/k8s/helm/templates/_helpers.tpl b/hosting/k8s/helm/templates/_helpers.tpl index 1679cbef0..b51fd7404 100644 --- a/hosting/k8s/helm/templates/_helpers.tpl +++ b/hosting/k8s/helm/templates/_helpers.tpl @@ -208,7 +208,7 @@ Create the name of the supervisor service account to use Create the name of the supervisor cluster role to use */}} {{- define "trigger-v4.supervisorClusterRoleName" -}} -{{- default (printf "%s-supervisor" (include "trigger-v4.fullname" .)) .Values.supervisor.rbac.clusterRole.name }} +{{- default (printf "%s-supervisor-%s" (include "trigger-v4.fullname" .) .Release.Namespace) .Values.supervisor.rbac.clusterRole.name }} {{- end }} {{/*