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 2424 initContainers :
2525 - name : {{ .Chart.Name }}-init-mounts
2626 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" . }}' ]
2833 volumeMounts :
2934 {{- range $entry := .Values.mutableConfigs }}
3035 {{ if $entry -}}
Original file line number Diff line number Diff line change @@ -96,3 +96,7 @@ useSecretConfigs: false
9696# subPath: ".rstudio/monitored/user-settings/"
9797# contents: |
9898# 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