Skip to content

Commit c572947

Browse files
committed
Fix Helm upgrade error: "mapping values are not allowed in this context"
1 parent c350333 commit c572947

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ jobs:
8888
command: helm test stackstorm-ha
8989
- run:
9090
name: Helm upgrade with RBAC enabled
91-
command: helm upgrade --set st2.rbac.enabled=true --wait stackstorm-ha .
91+
command: helm upgrade --set st2.rbac.enabled=true --timeout 5m0s --debug --wait stackstorm-ha .
9292
- run:
9393
name: Helm test with RBAC enabled
9494
command: helm test stackstorm-ha

templates/deployments.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1259,7 +1259,7 @@ spec:
12591259
- name: st2-config-vol
12601260
mountPath: /etc/st2/st2.user.conf
12611261
subPath: st2.user.conf
1262-
{{- if .Values.st2.rbac.enabled -}}
1262+
{{- if .Values.st2.rbac.enabled }}
12631263
- name: st2-rbac-roles-vol
12641264
mountPath: /opt/stackstorm/rbac/roles/
12651265
- name: st2-rbac-assignments-vol
@@ -1307,7 +1307,7 @@ spec:
13071307
- name: st2-config-vol
13081308
configMap:
13091309
name: {{ .Release.Name }}-st2-config
1310-
{{- if .Values.st2.rbac.enabled -}}
1310+
{{- if .Values.st2.rbac.enabled }}
13111311
- name: st2-rbac-roles-vol
13121312
configMap:
13131313
name: {{ .Release.Name }}-st2-rbac-roles

0 commit comments

Comments
 (0)