Skip to content

Commit

Permalink
fix(kubernetes-resource-manager): fixed the function for the krm roles
Browse files Browse the repository at this point in the history
  • Loading branch information
Calcagiara committed Dec 4, 2024
1 parent c71f8c3 commit 2c2da98
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/kubernetes-resource-manager/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion charts/kubernetes-resource-manager/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

0 comments on commit 2c2da98

Please sign in to comment.