From 2c2da9882e59630b5a2d11529053364e5157ab86 Mon Sep 17 00:00:00 2001 From: Calcagiara Date: Tue, 3 Dec 2024 15:18:34 +0100 Subject: [PATCH] fix(kubernetes-resource-manager): fixed the function for the krm roles --- charts/kubernetes-resource-manager/Chart.yaml | 2 +- charts/kubernetes-resource-manager/templates/_helpers.tpl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/kubernetes-resource-manager/Chart.yaml b/charts/kubernetes-resource-manager/Chart.yaml index f408740..39f33a8 100644 --- a/charts/kubernetes-resource-manager/Chart.yaml +++ b/charts/kubernetes-resource-manager/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: kubernetes-resource-manager description: A Helm chart for Kubernetes type: application -version: 0.2.4 +version: 0.2.5 appVersion: "1.2.2" maintainers: - name: ffais diff --git a/charts/kubernetes-resource-manager/templates/_helpers.tpl b/charts/kubernetes-resource-manager/templates/_helpers.tpl index cda98af..1417c39 100644 --- a/charts/kubernetes-resource-manager/templates/_helpers.tpl +++ b/charts/kubernetes-resource-manager/templates/_helpers.tpl @@ -133,6 +133,6 @@ Function for setting roles for KRM {{- define "kubernetes-resource-manager.roles" }} {{- range $i, $roles := .Values.oidc.access.roles }} ACCESS_ROLES_{{ $i }}_ROLE: {{ $roles.role }} - ACCESS_ROLES_{{ $i }}_RESOURCES: {{ $roles.resources }} + ACCESS_ROLES_{{ $i }}_RESOURCES: {{ $roles.resources | quote }} {{- end }} {{- end }}