Skip to content

Commit 2d18dc1

Browse files
committed
Change home dir to mount path
1 parent f1edea7 commit 2d18dc1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

rstudio/templates/_helpers.tpl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,6 @@ Return which PVC to use
7777
Creates the bash command for the init containers used to place files and change permissions in the rstudio pods
7878
*/}}
7979
{{- define "rstudio.init-container-commands" -}}
80-
cp -anrL /opt/configs/readonly/rstudio/ /home/;
81-
chown -R rstudio:rstudio /home/rstudio
80+
cp -anrL /opt/configs/readonly/rstudio/. {{ .Values.persistence.mountPath }};
8281
{{- end -}}
8382

0 commit comments

Comments
 (0)