|
@ -27,6 +27,19 @@ spec: |
|
|
securityContext: |
|
|
securityContext: |
|
|
{{- toYaml .Values.podSecurityContext | nindent 8 }} |
|
|
{{- toYaml .Values.podSecurityContext | nindent 8 }} |
|
|
containers: |
|
|
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 }} |
|
|
- name: {{ .Chart.Name }} |
|
|
securityContext: |
|
|
securityContext: |
|
|
{{- toYaml .Values.securityContext | nindent 12 }} |
|
|
{{- toYaml .Values.securityContext | nindent 12 }} |
|
|