@@ -350,10 +350,9 @@ Merge packs and virtualenvs from st2 with those from st2packs images
350
350
- 'sh'
351
351
- '-ec'
352
352
- |
353
- /bin/cp -aR /opt/stackstorm/packs/. /opt/stackstorm/packs-shared &&
354
- /bin/cp -aR /opt/stackstorm/virtualenvs/. /opt/stackstorm/virtualenvs-shared
355
- { {- with .securityContext | default $.Values.st2actionrunner.securityContext | default $.Values.securityContext } }
356
- { {/* st2actionrunner is likely the most permissive so use that if defined. */} }
353
+ /bin/cp -dR /opt/stackstorm/packs/. /opt/stackstorm/packs-shared &&
354
+ /bin/cp -dR /opt/stackstorm/virtualenvs/. /opt/stackstorm/virtualenvs-shared
355
+ { {- with $.Values.securityContext } }
357
356
securityContext: { {- toYaml . | nindent 8 } }
358
357
{ {- end } }
359
358
{ {- end } }
@@ -372,10 +371,9 @@ Merge packs and virtualenvs from st2 with those from st2packs images
372
371
- 'sh'
373
372
- '-ec'
374
373
- |
375
- /bin/cp -aR /opt/stackstorm/packs/. /opt/stackstorm/packs-shared &&
376
- /bin/cp -aR /opt/stackstorm/virtualenvs/. /opt/stackstorm/virtualenvs-shared
377
- { {- with .Values.st2actionrunner.securityContext | default .Values.securityContext } }
378
- { {/* st2actionrunner is likely the most permissive so use that if defined. */} }
374
+ /bin/cp -dR /opt/stackstorm/packs/. /opt/stackstorm/packs-shared &&
375
+ /bin/cp -dR /opt/stackstorm/virtualenvs/. /opt/stackstorm/virtualenvs-shared
376
+ { {- with .Values.securityContext } }
379
377
securityContext: { {- toYaml . | nindent 8 } }
380
378
{ {- end } }
381
379
{ {- end } }
@@ -393,9 +391,8 @@ Merge packs and virtualenvs from st2 with those from st2packs images
393
391
- 'sh'
394
392
- '-ec'
395
393
- |
396
- /bin/cp -aR /opt/stackstorm/configs/. /opt/stackstorm/configs-shared
397
- { {- with .Values.st2actionrunner.securityContext | default .Values.securityContext } }
398
- { {/* st2actionrunner is likely the most permissive so use that if defined. */} }
394
+ /bin/cp -dR /opt/stackstorm/configs/. /opt/stackstorm/configs-shared
395
+ { {- with .Values.securityContext } }
399
396
securityContext: { {- toYaml . | nindent 8 } }
400
397
{ {- end } }
401
398
{ {- end } }
0 commit comments