Walg backup/restore milestone reached.
Showing
2 changed files
with
22 additions
and
4 deletions
1 | namespace: postgres-operator | 1 | namespace: postgres-operator |
2 | backup: | 2 | backup: |
3 | provider: s3 | 3 | provider: s3 |
4 | schedule: "00 12 * * *" | ||
5 | num_to_retain: "5" | ||
4 | s3: | 6 | s3: |
5 | access_key_id: "" | 7 | access_key_id: "" |
6 | secret_access_key: "" | 8 | secret_access_key: "" |
9 | force_path_style: "false" | ||
7 | bucket: "" | 10 | bucket: "" |
8 | region: "" | 11 | region: "" |
9 | endpoint: "" | 12 | endpoint: "" |
10 | sse: "AES256" | 13 | sse: "AES256" |
11 | wale: | 14 | walg: |
15 | disabled_sse: false | ||
16 | enabled: true | ||
12 | endpoint: "" | 17 | endpoint: "" |
13 | storage_class: STANDARD | 18 | storage_class: STANDARD |
14 | 19 | ... | ... |
... | @@ -18,12 +18,25 @@ releases: | ... | @@ -18,12 +18,25 @@ releases: |
18 | name: postgres-extra-config | 18 | name: postgres-extra-config |
19 | namespace: {{ .Values.namespace }} | 19 | namespace: {{ .Values.namespace }} |
20 | data: | 20 | data: |
21 | BACKUP_SCHEDULE: {{ .Values.backup.schedule | quote }} | ||
22 | BACKUP_NUM_TO_RETAIN: {{ .Values.backup.num_to_retain | quote }} | ||
23 | |||
24 | AWS_ENDPOINT: {{ .Values.backup.s3.endpoint }} | ||
21 | AWS_ACCESS_KEY_ID: {{ .Values.backup.s3.access_key_id }} | 25 | AWS_ACCESS_KEY_ID: {{ .Values.backup.s3.access_key_id }} |
22 | AWS_SECRET_ACCESS_KEY: {{ .Values.backup.s3.secret_access_key }} | 26 | AWS_SECRET_ACCESS_KEY: {{ .Values.backup.s3.secret_access_key }} |
23 | AWS_REGION: {{ .Values.backup.s3.region }} | 27 | AWS_REGION: {{ .Values.backup.s3.region }} |
24 | USE_WALE_BACKUP: "true" | 28 | AWS_S3_FORCE_PATH_STYLE: {{ .Values.backup.s3.force_path_style | quote }} |
25 | WALE_S3_ENDPOINT: {{ .Values.backup.s3.wale.endpoint }} | 29 | |
26 | WALE_S3_STORAGE_CLASS: {{ .Values.backup.s3.wale.storage_class }} | 30 | USE_WALG_BACKUP: "true" |
31 | USE_WALG_RESTORE: "true" | ||
32 | WAL_S3_BUCKET: {{ .Values.backup.s3.bucket }} | ||
33 | WALG_DISABLE_S3_SSE: {{ .Values.backup.walg.disable_sse | quote }} | ||
34 | |||
35 | CLONE_METHOD: CLONE_WITH_WALG | ||
36 | CLONE_AWS_REGION: {{ .Values.backup.s3.region }} | ||
37 | CLONE_AWS_ACCESS_KEY_ID: {{ .Values.backup.s3.access_key_id }} | ||
38 | CLONE_AWS_SECRET_ACCESS_KEY: {{ .Values.backup.s3.secret_access_key }} | ||
39 | CLONE_AWS_S3_FORCE_PATH_STYLE: {{ .Values.backup.s3.force_path_style | quote }} | ||
27 | 40 | ||
28 | - name: postgres-operator | 41 | - name: postgres-operator |
29 | namespace: {{ .Values.namespace }} | 42 | namespace: {{ .Values.namespace }} | ... | ... |
-
Please register or sign in to post a comment