diff --git a/bioconductor/templates/_helpers.tpl b/bioconductor/templates/_helpers.tpl index fa98e87..98dd453 100644 --- a/bioconductor/templates/_helpers.tpl +++ b/bioconductor/templates/_helpers.tpl @@ -88,10 +88,10 @@ Return which PVC to use for libraries Creates the bash command for the init containers used to place files and change permissions in the rstudio pods */}} {{- define "bioconductor.init-container-commands" -}} -cp -anrL /opt/configs/readonly/rstudio/ /home/; -chown -R rstudio:rstudio /home/rstudio; {{- if and .Values.libraries.persistence.enabled (not .Values.libraries.persistence.separateClaim.enabled) }} mkdir -p {{.Values.persistence.mountPath}}/persisted-library/R; {{- end }} +cp -anrL /opt/configs/readonly/rstudio/ /home/; +chown -R rstudio:rstudio /home/rstudio; {{- end -}} diff --git a/bioconductor/templates/deployment.yaml b/bioconductor/templates/deployment.yaml index 9c1a5ef..f1f5818 100644 --- a/bioconductor/templates/deployment.yaml +++ b/bioconductor/templates/deployment.yaml @@ -116,4 +116,4 @@ spec: {{- end }} {{- if .Values.extraVolumes }} {{- .Values.extraVolumes | toYaml | nindent 8 }} - {{- end }} \ No newline at end of file + {{- end }}