Skip to content

PostgreSQL backup tool with Point-In-Time-Recovery and restore verification

Merge branch 'main' into feature/helm-extra-env

Rostislav Dugin19305f769da9
diff --cc deploy/helm/templates/statefulset.yaml
index 594405d4,16df9868..d1e6bee7
--- a/deploy/helm/templates/statefulset.yaml
+++ b/deploy/helm/templates/statefulset.yaml
@@@ -43,19 -47,14 +47,23 @@@ spec
- name: {{ .Chart.Name }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
+ {{- with .Values.securityContext }}
+ securityContext:
+ {{- toYaml . | nindent 12 }}
+ {{- end }}
- {{- if .Values.customRootCA }}
+ {{- if or .Values.customRootCA .Values.extraEnv }}
env:
+ {{- if .Values.customRootCA }}
- name: SSL_CERT_FILE
value: /etc/ssl/certs/custom-root-ca.crt
+ {{- end }}
+ {{- with .Values.extraEnv }}
+ {{- toYaml . | nindent 12 }}
+ {{- end }}
+ {{- end }}
+ {{- with .Values.extraEnvFrom }}
+ envFrom:
+ {{- toYaml . | nindent 12 }}
{{- end }}
ports:
- name: http