Skip to content

Commit 70c0340

Browse files
committed
adjust backup to backupCluster
1 parent 70657b7 commit 70c0340

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

platforms/kubernetes/postgres-operator/deploy/postgres-operator.yaml.template

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -352,6 +352,8 @@ spec:
352352
type: object
353353
x-kubernetes-preserve-unknown-fields: true
354354
backup:
355+
type: string
356+
backupCluster:
355357
type: object
356358
x-kubernetes-preserve-unknown-fields: true
357359
properties:

platforms/kubernetes/postgres-operator/deploy/postgresql.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ spec:
164164
ENDPOINT: "http://s3.pek3.qingstor.com/"
165165
BUCKET: "postgresql"
166166
PATH: "test/backup"
167-
# backup:
167+
# backupCluster:
168168
# manual:
169169
# trigger-id: 2
170170
# cron:

platforms/kubernetes/postgres-operator/postgres/constants.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
SPEC_POSTGRESQL_USERS_NORMAL = "normal"
5050
SPEC_POSTGRESQL_USERS_USER_PASSWORD = "password"
5151
SPEC_POSTGRESQL_USERS_USER_NAME = "name"
52-
SPEC_BACKUP = "backup"
52+
SPEC_BACKUP = "backupCluster"
5353
SPEC_BACKUP_MANUAL = "manual"
5454
SPEC_BACKUP_TRIGGER_ID = "trigger-id"
5555
SPEC_BACKUP_CRON = "cron"

0 commit comments

Comments
 (0)