From 5b7a823cc22d1bc8557a1285eeb91688102ceb51 Mon Sep 17 00:00:00 2001 From: tm8enk Date: Wed, 10 Feb 2021 09:44:10 +0000 Subject: [PATCH] rstudio init script --- charts/rstudio/Chart.yaml | 2 +- charts/rstudio/templates/deployment.yaml | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/charts/rstudio/Chart.yaml b/charts/rstudio/Chart.yaml index c4542567..55805e44 100644 --- a/charts/rstudio/Chart.yaml +++ b/charts/rstudio/Chart.yaml @@ -15,7 +15,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.2.6 +version: 0.2.7 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to diff --git a/charts/rstudio/templates/deployment.yaml b/charts/rstudio/templates/deployment.yaml index b9d38c4a..eeffc53f 100644 --- a/charts/rstudio/templates/deployment.yaml +++ b/charts/rstudio/templates/deployment.yaml @@ -54,6 +54,10 @@ spec: {{- if .Values.environment.root }} - name: ROOT value: "TRUE" + {{- end }} + {{- if .Values.init.personnalInit }} + - name: PERSONNAL_INIT_SCRIPT + value: {{ .Values.init.personnalInit }} {{- end }} envFrom: {{- if .Values.environment.s3 }}