File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11apiVersion : v2
22name : nextcloud
3- version : 5.0.2
3+ version : 5.1.0
44appVersion : 29.0.3
55description : A file sharing server that puts the control and security of your own data back into your hands.
66keywords :
Original file line number Diff line number Diff line change @@ -293,6 +293,10 @@ spec:
293293 {{- if .Values.mariadb.enabled }}
294294 - name : mariadb-isalive
295295 image : {{ .Values.mariadb.image.registry | default "docker.io" }}/{{ .Values.mariadb.image.repository }}:{{ .Values.mariadb.image.tag }}
296+ {{- with .Values.nextcloud.mariaDbInitContainer.securityContext }}
297+ securityContext :
298+ {{- toYaml . | nindent 12 }}
299+ {{- end }}
296300 env :
297301 - name : MYSQL_USER
298302 valueFrom :
@@ -311,6 +315,10 @@ spec:
311315 {{- else if .Values.postgresql.enabled }}
312316 - name : postgresql-isready
313317 image : {{ .Values.postgresql.image.registry | default "docker.io" }}/{{ .Values.postgresql.image.repository }}:{{ .Values.postgresql.image.tag }}
318+ {{- with .Values.nextcloud.postgreSqlInitContainer.securityContext }}
319+ securityContext :
320+ {{- toYaml . | nindent 12 }}
321+ {{- end }}
314322 env :
315323 - name : POSTGRES_USER
316324 valueFrom :
Original file line number Diff line number Diff line change @@ -220,6 +220,17 @@ nextcloud:
220220 # runAsNonRoot: true
221221 # readOnlyRootFilesystem: false
222222
223+ # Settings for the MariaDB init container
224+ mariaDbInitContainer :
225+ # Set mariadb initContainer securityContext parameters. For example, you may need to define runAsNonRoot directive
226+ securityContext : {}
227+
228+ # Settings for the PostgreSQL init container
229+ postgreSqlInitContainer :
230+ # Set postgresql initContainer securityContext parameters. For example, you may need to define runAsNonRoot directive
231+ securityContext : {}
232+
233+
223234nginx :
224235 # # You need to set an fpm version of the image for nextcloud if you want to use nginx!
225236 enabled : false
You can’t perform that action at this time.
0 commit comments