@@ -204,7 +204,7 @@ spec:
204
204
name : {{ .Release.Name }}-st2-urls
205
205
volumeMounts :
206
206
{{- include "st2-config-volume-mounts" . | nindent 8 }}
207
- {{- if ne "disable" .Values.st2.datastore_crypto_key }}
207
+ {{- if ne "disable" (default "" .Values.st2.datastore_crypto_key) }}
208
208
- name : st2-encryption-key-vol
209
209
mountPath : /etc/st2/keys
210
210
readOnly : true
@@ -228,7 +228,7 @@ spec:
228
228
serviceAccountName : {{ template "stackstorm-ha.serviceAccountName" . }}
229
229
{{- end }}
230
230
volumes :
231
- {{- if ne "disable" .Values.st2.datastore_crypto_key }}
231
+ {{- if ne "disable" (default "" .Values.st2.datastore_crypto_key) }}
232
232
- name : st2-encryption-key-vol
233
233
secret :
234
234
secretName : {{ .Release.Name }}-st2-datastore-crypto-key
@@ -565,7 +565,7 @@ spec:
565
565
name : {{ .Release.Name }}-st2-urls
566
566
volumeMounts :
567
567
{{- include "st2-config-volume-mounts" . | nindent 8 }}
568
- {{- if ne "disable" .Values.st2.datastore_crypto_key }}
568
+ {{- if ne "disable" (default "" .Values.st2.datastore_crypto_key) }}
569
569
- name : st2-encryption-key-vol
570
570
mountPath : /etc/st2/keys
571
571
readOnly : true
@@ -586,7 +586,7 @@ spec:
586
586
{{- end }}
587
587
volumes :
588
588
{{- include "st2-config-volume" . | nindent 8 }}
589
- {{- if ne "disable" .Values.st2.datastore_crypto_key }}
589
+ {{- if ne "disable" (default "" .Values.st2.datastore_crypto_key) }}
590
590
- name : st2-encryption-key-vol
591
591
secret :
592
592
secretName : {{ .Release.Name }}-st2-datastore-crypto-key
@@ -780,7 +780,7 @@ spec:
780
780
name : {{ .Release.Name }}-st2-urls
781
781
volumeMounts :
782
782
{{- include "st2-config-volume-mounts" . | nindent 8 }}
783
- {{- if ne "disable" .Values.st2.datastore_crypto_key }}
783
+ {{- if ne "disable" (default "" .Values.st2.datastore_crypto_key) }}
784
784
- name : st2-encryption-key-vol
785
785
mountPath : /etc/st2/keys
786
786
readOnly : true
@@ -805,7 +805,7 @@ spec:
805
805
{{- end }}
806
806
volumes :
807
807
{{- include "st2-config-volume" . | nindent 8 }}
808
- {{- if ne "disable" .Values.st2.datastore_crypto_key }}
808
+ {{- if ne "disable" (default "" .Values.st2.datastore_crypto_key) }}
809
809
- name : st2-encryption-key-vol
810
810
secret :
811
811
secretName : {{ .Release.Name }}-st2-datastore-crypto-key
@@ -901,7 +901,7 @@ spec:
901
901
name : {{ .Release.Name }}-st2-urls
902
902
volumeMounts :
903
903
{{- include "st2-config-volume-mounts" . | nindent 8 }}
904
- {{- if ne "disable" .Values.st2.datastore_crypto_key }}
904
+ {{- if ne "disable" (default "" .Values.st2.datastore_crypto_key) }}
905
905
- name : st2-encryption-key-vol
906
906
mountPath : /etc/st2/keys
907
907
readOnly : true
@@ -921,7 +921,7 @@ spec:
921
921
serviceAccountName : {{ template "stackstorm-ha.serviceAccountName" . }}
922
922
{{- end }}
923
923
volumes :
924
- {{- if ne "disable" .Values.st2.datastore_crypto_key }}
924
+ {{- if ne "disable" (default "" .Values.st2.datastore_crypto_key) }}
925
925
- name : st2-encryption-key-vol
926
926
secret :
927
927
secretName : {{ .Release.Name }}-st2-datastore-crypto-key
@@ -1161,7 +1161,7 @@ spec:
1161
1161
volumeMounts :
1162
1162
{{- include "st2-config-volume-mounts" $ | nindent 8 }}
1163
1163
{{- include "packs-volume-mounts" $ | nindent 8 }}
1164
- {{- if ne "disable" $.Values.st2.datastore_crypto_key }}
1164
+ {{- if ne "disable" (default "" $.Values.st2.datastore_crypto_key) }}
1165
1165
- name : st2-encryption-key-vol
1166
1166
mountPath : /etc/st2/keys
1167
1167
readOnly : true
@@ -1185,7 +1185,7 @@ spec:
1185
1185
serviceAccountName : {{ template "stackstorm-ha.serviceAccountName" $ }}
1186
1186
{{- end }}
1187
1187
volumes :
1188
- {{- if ne "disable" $.Values.st2.datastore_crypto_key }}
1188
+ {{- if ne "disable" (default "" $.Values.st2.datastore_crypto_key) }}
1189
1189
- name : st2-encryption-key-vol
1190
1190
secret :
1191
1191
secretName : {{ $.Release.Name }}-st2-datastore-crypto-key
@@ -1303,7 +1303,7 @@ spec:
1303
1303
{{- include "st2-config-volume-mounts" . | nindent 8 }}
1304
1304
- name : st2-ssh-key-vol
1305
1305
mountPath : {{ tpl .Values.st2.system_user.ssh_key_file . | dir | dir }}/.ssh-key-vol/
1306
- {{- if ne "disable" .Values.st2.datastore_crypto_key }}
1306
+ {{- if ne "disable" (default "" .Values.st2.datastore_crypto_key) }}
1307
1307
- name : st2-encryption-key-vol
1308
1308
mountPath : /etc/st2/keys
1309
1309
readOnly : true
@@ -1329,7 +1329,7 @@ spec:
1329
1329
serviceAccountName : {{ template "stackstorm-ha.serviceAccountName" . }}
1330
1330
{{- end }}
1331
1331
volumes :
1332
- {{- if ne "disable" .Values.st2.datastore_crypto_key }}
1332
+ {{- if ne "disable" (default "" .Values.st2.datastore_crypto_key) }}
1333
1333
- name : st2-encryption-key-vol
1334
1334
secret :
1335
1335
secretName : {{ .Release.Name }}-st2-datastore-crypto-key
@@ -1581,7 +1581,7 @@ spec:
1581
1581
mountPath : /root/.st2/
1582
1582
- name : st2-ssh-key-vol
1583
1583
mountPath : {{ tpl .Values.st2.system_user.ssh_key_file . | dir | dir }}/.ssh-key-vol/
1584
- {{- if ne "disable" .Values.st2.datastore_crypto_key }}
1584
+ {{- if ne "disable" (default "" .Values.st2.datastore_crypto_key) }}
1585
1585
- name : st2-encryption-key-vol
1586
1586
mountPath : /etc/st2/keys
1587
1587
readOnly : true
@@ -1608,7 +1608,7 @@ spec:
1608
1608
memory : " 5Mi"
1609
1609
cpu : " 5m"
1610
1610
volumes :
1611
- {{- if ne "disable" .Values.st2.datastore_crypto_key }}
1611
+ {{- if ne "disable" (default "" .Values.st2.datastore_crypto_key) }}
1612
1612
- name : st2-encryption-key-vol
1613
1613
secret :
1614
1614
secretName : {{ .Release.Name }}-st2-datastore-crypto-key
0 commit comments