You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
1.1 KiB
YAML
31 lines
1.1 KiB
YAML
---
|
|
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: pg-cluster-config
|
|
data:
|
|
AWS_ACCESS_KEY_ID: {{ .Values.postgres_bkp.bkp_user }}
|
|
AWS_SECRET_ACCESS_KEY: {{ .Values.postgres_bkp.bkp_pass }}
|
|
AWS_ENDPOINT: {{ .Values.postgres_bkp.bkp_url }}
|
|
AWS_REGION: ""
|
|
AWS_S3_FORCE_PATH_STYLE: "true" # needed for MinIO
|
|
BACKUP_NUM_TO_RETAIN: "7"
|
|
BACKUP_SCHEDULE: "00 2 * * *"
|
|
CLONE_USE_WALG_RESTORE: "true"
|
|
USE_WALG_BACKUP: "true"
|
|
USE_WALG_RESTORE: "true"
|
|
WALG_DISABLE_S3_SSE: "true"
|
|
WAL_S3_BUCKET: postgres
|
|
WAL_BUCKET_SCOPE_PREFIX: ""
|
|
WAL_BUCKET_SCOPE_SUFFIX: ""
|
|
CRONTAB: "['* * * * * /nso_scripts/backup-monitoring.sh']"
|
|
CLONE_USE_WALG_RESTORE: "true"
|
|
CLONE_AWS_ACCESS_KEY_ID: {{ .Values.postgres_bkp.bkp_user }}
|
|
CLONE_AWS_SECRET_ACCESS_KEY: {{ .Values.postgres_bkp.bkp_pass }}
|
|
CLONE_AWS_ENDPOINT: {{ .Values.postgres_bkp.bkp_url }}
|
|
CLONE_AWS_REGION: {{ .Values.postgres_bkp.cloneAwsRegion | quote }}
|
|
CLONE_METHOD: 'CLONE_WITH_WALE'
|
|
CLONE_WAL_BUCKET_SCOPE_PREFIX: {{ .Values.postgres_bkp.cloneWalBucketScopePrefix | quote }}
|
|
CLONE_WAL_S3_BUCKET: postgres
|
|
CLONE_AWS_S3_FORCE_PATH_STYLE: "true"
|