Skip to content

Commit bd5c6e2

Browse files
author
hanancha
committed
Updating rbac references to rbac configmaps
1 parent 98692a5 commit bd5c6e2

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

templates/configmaps_rbac.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{{- if .Values.st2.rbac.enabled -}}
1+
{{- if .Values.st2.rbac.enabled }}
22
---
33
apiVersion: v1
44
kind: ConfigMap
@@ -14,7 +14,7 @@ metadata:
1414
release: {{ .Release.Name }}
1515
heritage: {{ .Release.Service }}
1616
data:
17-
{{ toYaml .Values.rbac.roles | indent 2 }}
17+
{{ toYaml .Values.st2.rbac.roles | indent 2 }}
1818

1919
---
2020
apiVersion: v1
@@ -31,7 +31,7 @@ metadata:
3131
release: {{ .Release.Name }}
3232
heritage: {{ .Release.Service }}
3333
data:
34-
{{ toYaml .Values.rbac.assignments | indent 2 }}
34+
{{ toYaml .Values.st2.rbac.assignments | indent 2 }}
3535

3636
---
3737
apiVersion: v1
@@ -48,8 +48,8 @@ metadata:
4848
release: {{ .Release.Name }}
4949
heritage: {{ .Release.Service }}
5050
data:
51-
{{- if .Values.rbac.mappings }}
52-
{{ toYaml .Values.rbac.mappings | indent 2 }}
51+
{{- if .Values.st2.rbac.mappings }}
52+
{{ toYaml .Values.st2.rbac.mappings | indent 2 }}
5353
{{ else }}
5454
{}
5555
{{ end }}

0 commit comments

Comments
 (0)