@@ -164,13 +164,13 @@ spec:
164
164
{{- end }}
165
165
volumeMounts :
166
166
- name : st2client-config-vol
167
- mountPath : /root /.st2/
167
+ mountPath : /home/stanley /.st2/
168
168
# `st2 login` doesn't exit on failure correctly, use old methods instead. See bug: https://github.com/StackStorm/st2/issues/4338
169
169
command :
170
170
- ' sh'
171
171
- ' -ec'
172
172
- |
173
- cat <<EOT > /root /.st2/config
173
+ cat <<EOT > /home/stanley /.st2/config
174
174
{{- tpl .Values.jobs.st2clientConfig . | nindent 12 }}
175
175
EOT
176
176
containers :
@@ -197,7 +197,7 @@ spec:
197
197
{{- end }}
198
198
volumeMounts :
199
199
- name : st2client-config-vol
200
- mountPath : /root /.st2/
200
+ mountPath : /home/stanley /.st2/
201
201
- name : st2-apikeys-vol
202
202
mountPath : /etc/st2/apikeys.yaml
203
203
subPath : apikeys.yaml
@@ -290,13 +290,13 @@ spec:
290
290
{{- end }}
291
291
volumeMounts :
292
292
- name : st2client-config-vol
293
- mountPath : /root /.st2/
293
+ mountPath : /home/stanley /.st2/
294
294
# `st2 login` doesn't exit on failure correctly, use old methods instead. See bug: https://github.com/StackStorm/st2/issues/4338
295
295
command :
296
296
- ' sh'
297
297
- ' -ec'
298
298
- |
299
- cat <<EOT > /root /.st2/config
299
+ cat <<EOT > /home/stanley /.st2/config
300
300
{{- tpl .Values.jobs.st2clientConfig . | nindent 12 }}
301
301
EOT
302
302
containers :
@@ -325,7 +325,7 @@ spec:
325
325
volumeMounts :
326
326
{{- include "stackstorm-ha.st2-config-volume-mounts" . | nindent 8 }}
327
327
- name : st2client-config-vol
328
- mountPath : /root /.st2/
328
+ mountPath : /home/stanley /.st2/
329
329
- name : st2-kv-vol
330
330
mountPath : /etc/st2/st2kv.yaml
331
331
subPath : st2kv.yaml
@@ -660,13 +660,13 @@ spec:
660
660
{{- end }}
661
661
volumeMounts :
662
662
- name : st2client-config-vol
663
- mountPath : /root /.st2/
663
+ mountPath : /home/stanley /.st2/
664
664
# `st2 login` doesn't exit on failure correctly, use old methods instead. See bug: https://github.com/StackStorm/st2/issues/4338
665
665
command :
666
666
- ' sh'
667
667
- ' -ec'
668
668
- |
669
- cat <<EOT > /root /.st2/config
669
+ cat <<EOT > /home/stanley /.st2/config
670
670
{{- tpl $.Values.jobs.st2clientConfig $ | nindent 12 }}
671
671
EOT
672
672
containers :
@@ -692,7 +692,7 @@ spec:
692
692
{{- end }}
693
693
volumeMounts :
694
694
- name : st2client-config-vol
695
- mountPath : /root /.st2/
695
+ mountPath : /home/stanley /.st2/
696
696
{{- include "stackstorm-ha.overrides-config-mounts" $ | nindent 8 }}
697
697
{{- include "stackstorm-ha.st2-config-volume-mounts" $ | nindent 8 }}
698
698
{{- include "stackstorm-ha.packs-volume-mounts-for-register-job" $ | nindent 8 }}
0 commit comments