|
@ -28,6 +28,18 @@ spec: |
|
|
securityContext: |
|
|
securityContext: |
|
|
{{- toYaml .Values.podSecurityContext | nindent 8 }} |
|
|
{{- toYaml .Values.podSecurityContext | nindent 8 }} |
|
|
initContainers: |
|
|
initContainers: |
|
|
|
|
|
- image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}" |
|
|
|
|
|
name: {{ .Release.Name }}-chownplone |
|
|
|
|
|
command: |
|
|
|
|
|
- "chown" |
|
|
|
|
|
- "plone:plone" |
|
|
|
|
|
- "/data" |
|
|
|
|
|
securityContext: |
|
|
|
|
|
runAsNonRoot: false |
|
|
|
|
|
runAsUser: 0 |
|
|
|
|
|
volumeMounts: |
|
|
|
|
|
- mountPath: /data |
|
|
|
|
|
name: data |
|
|
- image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}" |
|
|
- image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}" |
|
|
name: {{ .Release.Name }}-rmlock |
|
|
name: {{ .Release.Name }}-rmlock |
|
|
command: |
|
|
command: |
|
|