diff --git a/charts/rstudio-pm/ci/all-values.yaml b/charts/rstudio-pm/ci/all-values.yaml index efa2c9b8..76f37155 100644 --- a/charts/rstudio-pm/ci/all-values.yaml +++ b/charts/rstudio-pm/ci/all-values.yaml @@ -84,3 +84,8 @@ extraContainers: env: - name: CHRONICLE_SERVER_ADDRESS value: "http://chronicle-server.default" + +postUpgradeJob: + image: + repository: busybox + tag: latest diff --git a/charts/rstudio-pm/templates/post-upgrade-chown-job.yaml b/charts/rstudio-pm/templates/post-upgrade-chown-job.yaml index b882cef1..b502fce6 100644 --- a/charts/rstudio-pm/templates/post-upgrade-chown-job.yaml +++ b/charts/rstudio-pm/templates/post-upgrade-chown-job.yaml @@ -22,7 +22,7 @@ spec: restartPolicy: Never containers: - name: chown-shared-storage - image: "busybox" + image: "{{ .Values.postUpgradeJob.image.repository }}:{{ .Values.postUpgradeJob.image.tag }}" command: - /bin/sh - -c diff --git a/charts/rstudio-pm/values.yaml b/charts/rstudio-pm/values.yaml index a5ce17fb..ebd1d400 100644 --- a/charts/rstudio-pm/values.yaml +++ b/charts/rstudio-pm/values.yaml @@ -250,3 +250,11 @@ tolerations: [] priorityClassName: "" # -- Pod disruption budget podDisruptionBudget: {} + +# -- post upgrade job config +postUpgradeJob: + image: + # -- the repository to use for the post upgrade job image + repository: busybox + # -- the tag to use for the post upgrade job image + tag: latest