Skip to content

Commit e671b73

Browse files
[all] initcontainer image configurable (#249)
1 parent bd7c32d commit e671b73

18 files changed

Lines changed: 36 additions & 18 deletions

File tree

charts/jupyter-pyspark/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ type: application
2424
# This is the chart version. This version number should be incremented each time you make changes
2525
# to the chart and its templates, including the app version.
2626
# Versions are expected to follow Semantic Versioning (https://semver.org/)
27-
version: 2.3.16
27+
version: 2.3.17
2828
dependencies:
2929
- name: library-chart
3030
version: 1.7.12

charts/jupyter-pyspark/templates/statefulset.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,8 +129,8 @@ spec:
129129
hostname: jupyter
130130
initContainers:
131131
- name: make-configmaps-writable
132-
image: inseefrlab/onyxia-base:latest
133-
imagePullPolicy: IfNotPresent
132+
image: {{ .Values.service.initContainer.image }}
133+
imagePullPolicy: {{ .Values.service.initContainer.pullPolicy }}
134134
command:
135135
- sh
136136
- -c

charts/jupyter-pyspark/values.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ global:
33
suspend: false
44

55
service:
6+
initContainer:
7+
image: "inseefrlab/onyxia-base:latest"
8+
pullPolicy: IfNotPresent
69
image:
710
version: "inseefrlab/onyxia-jupyter-pyspark:py3.13.5-spark3.5.6"
811
pullPolicy: IfNotPresent

charts/jupyter-python/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ type: application
2222
# This is the chart version. This version number should be incremented each time you make changes
2323
# to the chart and its templates, including the app version.
2424
# Versions are expected to follow Semantic Versioning (https://semver.org/)
25-
version: 2.3.17
25+
version: 2.3.18
2626
dependencies:
2727
- name: library-chart
2828
version: 1.7.12

charts/jupyter-python/templates/statefulset.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,8 @@ spec:
104104
hostname: jupyter
105105
initContainers:
106106
- name: make-secrets-writable
107-
image: inseefrlab/onyxia-base:latest
108-
imagePullPolicy: IfNotPresent
107+
image: {{ .Values.service.initContainer.image }}
108+
imagePullPolicy: {{ .Values.service.initContainer.pullPolicy }}
109109
command:
110110
- sh
111111
- -c

charts/jupyter-python/values.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ global:
33
suspend: false
44

55
service:
6+
initContainer:
7+
image: "inseefrlab/onyxia-base:latest"
8+
pullPolicy: IfNotPresent
69
image:
710
version: "inseefrlab/onyxia-jupyter-python:py3.13.5"
811
pullPolicy: IfNotPresent

charts/rstudio-sparkr/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ type: application
2323
# This is the chart version. This version number should be incremented each time you make changes
2424
# to the chart and its templates, including the app version.
2525
# Versions are expected to follow Semantic Versioning (https://semver.org/)
26-
version: 2.3.11
26+
version: 2.3.12
2727
dependencies:
2828
- name: library-chart
2929
version: 1.7.12

charts/rstudio-sparkr/templates/statefulset.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,8 @@ spec:
108108
hostname: rstudio
109109
initContainers:
110110
- name: make-secrets-writable
111-
image: inseefrlab/onyxia-base:latest
112-
imagePullPolicy: IfNotPresent
111+
image: {{ .Values.service.initContainer.image }}
112+
imagePullPolicy: {{ .Values.service.initContainer.pullPolicy }}
113113
command:
114114
- sh
115115
- -c

charts/rstudio-sparkr/values.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ global:
33
suspend: false
44

55
service:
6+
initContainer:
7+
image: "inseefrlab/onyxia-base:latest"
8+
pullPolicy: IfNotPresent
69
image:
710
version: "inseefrlab/onyxia-rstudio-sparkr:r4.5.0-spark3.5.6"
811
pullPolicy: IfNotPresent

charts/rstudio/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ type: application
2222
# This is the chart version. This version number should be incremented each time you make changes
2323
# to the chart and its templates, including the app version.
2424
# Versions are expected to follow Semantic Versioning (https://semver.org/)
25-
version: 2.3.12
25+
version: 2.3.13
2626
dependencies:
2727
- name: library-chart
2828
version: 1.7.12

0 commit comments

Comments
 (0)