|
|
@ -27,6 +27,19 @@ spec: |
|
|
|
securityContext: |
|
|
|
{{- toYaml .Values.podSecurityContext | nindent 8 }} |
|
|
|
containers: |
|
|
|
{{- if .Values.velero.backup.enabled }} |
|
|
|
- name: {{ .Chart.Name}}-fsfreeze |
|
|
|
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}" |
|
|
|
securityContext: |
|
|
|
privileged: true |
|
|
|
volumeMounts: |
|
|
|
- mountPath: /var/interlegis/sapl/media |
|
|
|
name: media |
|
|
|
command: |
|
|
|
- "/bin/bash" |
|
|
|
- "-c" |
|
|
|
- "sleep infinity" |
|
|
|
{{- end }} |
|
|
|
- name: {{ .Chart.Name }} |
|
|
|
securityContext: |
|
|
|
{{- toYaml .Values.securityContext | nindent 12 }} |
|
|
|