Fix WALE backups, add WALE_STORAGE_CLASS.
Showing
3 changed files
with
7 additions
and
16 deletions
... | @@ -18,16 +18,12 @@ releases: | ... | @@ -18,16 +18,12 @@ releases: |
18 | name: postgres-extra-config | 18 | name: postgres-extra-config |
19 | namespace: {{ .Values.namespace }} | 19 | namespace: {{ .Values.namespace }} |
20 | data: | 20 | data: |
21 | USE_WALE_BACKUP: "true" | ||
22 | AWS_ACCESS_KEY_ID: {{ .Values.backup.s3.access_key_id }} | 21 | AWS_ACCESS_KEY_ID: {{ .Values.backup.s3.access_key_id }} |
23 | WALE_S3_ENDPOINT: {{ .Values.backup.s3.wale_endpoint }} | ||
24 | - apiVersion: v1 | ||
25 | kind: Secret | ||
26 | metadata: | ||
27 | name: postgres-extra-config | ||
28 | namespace: {{ .Values.namespace }} | ||
29 | stringData: | ||
30 | AWS_SECRET_ACCESS_KEY: {{ .Values.backup.s3.secret_access_key }} | 22 | AWS_SECRET_ACCESS_KEY: {{ .Values.backup.s3.secret_access_key }} |
23 | AWS_REGION: {{ .Values.backup.s3.region }} | ||
24 | USE_WALE_BACKUP: "true" | ||
25 | WALE_S3_ENDPOINT: {{ .Values.backup.s3.wale.endpoint }} | ||
26 | WALE_S3_STORAGE_CLASS: {{ .Values.backup.s3.wale.storage_class }} | ||
31 | 27 | ||
32 | - name: postgres-operator | 28 | - name: postgres-operator |
33 | namespace: {{ .Values.namespace }} | 29 | namespace: {{ .Values.namespace }} |
... | @@ -43,8 +39,6 @@ releases: | ... | @@ -43,8 +39,6 @@ releases: |
43 | logical_backup_s3_secret_access_key: {{ .Values.backup.s3.secret_access_key }} | 39 | logical_backup_s3_secret_access_key: {{ .Values.backup.s3.secret_access_key }} |
44 | logical_backup_s3_sse: {{ .Values.backup.s3.sse }} | 40 | logical_backup_s3_sse: {{ .Values.backup.s3.sse }} |
45 | configAwsOrGcp: | 41 | configAwsOrGcp: |
46 | aws_region: {{ .Values.backup.s3.region }} | ||
47 | wal_s3_bucket: {{ .Values.backup.s3.bucket }} | 42 | wal_s3_bucket: {{ .Values.backup.s3.bucket }} |
48 | configKubernetes: | 43 | configKubernetes: |
49 | pod_environment_configmap: {{ .Values.namespace }}/postgres-extra-config | 44 | pod_environment_configmap: {{ .Values.namespace }}/postgres-extra-config |
50 | pod_environment_secret: {{ .Values.namespace }}/postgres-extra-config | ... | ... |
-
Please register or sign in to post a comment