Skip to content

Commit

Permalink
Change home dir to mount path
Browse files Browse the repository at this point in the history
  • Loading branch information
nuwang committed Jul 21, 2020
1 parent f1edea7 commit 2d18dc1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions rstudio/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ Return which PVC to use
Creates the bash command for the init containers used to place files and change permissions in the rstudio pods
*/}}
{{- define "rstudio.init-container-commands" -}}
cp -anrL /opt/configs/readonly/rstudio/ /home/;
chown -R rstudio:rstudio /home/rstudio
cp -anrL /opt/configs/readonly/rstudio/. {{ .Values.persistence.mountPath }};
{{- end -}}

0 comments on commit 2d18dc1

Please sign in to comment.