File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change 24
24
initContainers :
25
25
- name : {{ .Chart.Name }}-init-mounts
26
26
image : " {{ .Values.image.repository }}:{{ .Values.image.tag }}"
27
- command : ['sh', '-c', {{ include "rstudio.init-container-commands" . | squote }}]
27
+ command : [
28
+ ' sh' , '-c',
29
+ ' {{- if .Values.extraInitCommands -}}
30
+ {{- tpl .Values.extraInitCommands $ | nindent 13 }};
31
+ {{- end -}}
32
+ {{ include "rstudio.init-container-commands" . }}' ]
28
33
volumeMounts :
29
34
{{- range $entry := .Values.mutableConfigs }}
30
35
{{ if $entry -}}
Original file line number Diff line number Diff line change @@ -96,3 +96,7 @@ useSecretConfigs: false
96
96
# subPath: ".rstudio/monitored/user-settings/"
97
97
# contents: |
98
98
# initialWorkingDirectory="/opt/project/shared-data"
99
+
100
+ extraInitCommands : |
101
+ # cp -r /etc/skel /gvl/projects/current/
102
+ # /galaxy/server/extra/mapped/script.sh
You can’t perform that action at this time.
0 commit comments