@@ -164,13 +164,13 @@ spec:
164164 {{- end }}
165165 volumeMounts :
166166 - name : st2client-config-vol
167- mountPath : /root /.st2/
167+ mountPath : /home/stanley /.st2/
168168 # `st2 login` doesn't exit on failure correctly, use old methods instead. See bug: https://github.com/StackStorm/st2/issues/4338
169169 command :
170170 - ' sh'
171171 - ' -ec'
172172 - |
173- cat <<EOT > /root /.st2/config
173+ cat <<EOT > /home/stanley /.st2/config
174174 {{- tpl .Values.jobs.st2clientConfig . | nindent 12 }}
175175 EOT
176176 containers :
@@ -197,7 +197,7 @@ spec:
197197 {{- end }}
198198 volumeMounts :
199199 - name : st2client-config-vol
200- mountPath : /root /.st2/
200+ mountPath : /home/stanley /.st2/
201201 - name : st2-apikeys-vol
202202 mountPath : /etc/st2/apikeys.yaml
203203 subPath : apikeys.yaml
@@ -290,13 +290,13 @@ spec:
290290 {{- end }}
291291 volumeMounts :
292292 - name : st2client-config-vol
293- mountPath : /root /.st2/
293+ mountPath : /home/stanley /.st2/
294294 # `st2 login` doesn't exit on failure correctly, use old methods instead. See bug: https://github.com/StackStorm/st2/issues/4338
295295 command :
296296 - ' sh'
297297 - ' -ec'
298298 - |
299- cat <<EOT > /root /.st2/config
299+ cat <<EOT > /home/stanley /.st2/config
300300 {{- tpl .Values.jobs.st2clientConfig . | nindent 12 }}
301301 EOT
302302 containers :
@@ -325,7 +325,7 @@ spec:
325325 volumeMounts :
326326 {{- include "stackstorm-ha.st2-config-volume-mounts" . | nindent 8 }}
327327 - name : st2client-config-vol
328- mountPath : /root /.st2/
328+ mountPath : /home/stanley /.st2/
329329 - name : st2-kv-vol
330330 mountPath : /etc/st2/st2kv.yaml
331331 subPath : st2kv.yaml
@@ -660,13 +660,13 @@ spec:
660660 {{- end }}
661661 volumeMounts :
662662 - name : st2client-config-vol
663- mountPath : /root /.st2/
663+ mountPath : /home/stanley /.st2/
664664 # `st2 login` doesn't exit on failure correctly, use old methods instead. See bug: https://github.com/StackStorm/st2/issues/4338
665665 command :
666666 - ' sh'
667667 - ' -ec'
668668 - |
669- cat <<EOT > /root /.st2/config
669+ cat <<EOT > /home/stanley /.st2/config
670670 {{- tpl $.Values.jobs.st2clientConfig $ | nindent 12 }}
671671 EOT
672672 containers :
@@ -692,7 +692,7 @@ spec:
692692 {{- end }}
693693 volumeMounts :
694694 - name : st2client-config-vol
695- mountPath : /root /.st2/
695+ mountPath : /home/stanley /.st2/
696696 {{- include "stackstorm-ha.overrides-config-mounts" $ | nindent 8 }}
697697 {{- include "stackstorm-ha.st2-config-volume-mounts" $ | nindent 8 }}
698698 {{- include "stackstorm-ha.packs-volume-mounts-for-register-job" $ | nindent 8 }}
0 commit comments