Enhance database backup for etcdctl and postgresql
Updated environment variables for remote DB backups Change-Id: I8a039d5e31399442662457a951facc6546a87577
This commit is contained in:
parent
ab8fcb5fff
commit
0001792d0d
@ -102,6 +102,21 @@ spec:
|
||||
name: ${ETCD_CONF_SECRET}
|
||||
- name: OS_IDENTITY_API_VERSION
|
||||
value: "3"
|
||||
- name: NUMBER_OF_RETRIES_SEND_BACKUP_TO_REMOTE
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
key: REMOTE_BACKUP_RETRIES
|
||||
name: ${ETCD_CONF_SECRET}
|
||||
- name: MIN_DELAY_SEND_BACKUP_TO_REMOTE
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
key: REMOTE_BACKUP_SEND_DELAY_MIN
|
||||
name: ${ETCD_CONF_SECRET}
|
||||
- name: MAX_DELAY_SEND_BACKUP_TO_REMOTE
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
key: REMOTE_BACKUP_SEND_DELAY_MAX
|
||||
name: ${ETCD_CONF_SECRET}
|
||||
EOF
|
||||
|
||||
if $ETCD_REMOTE_BACKUP_ENABLED; then
|
||||
|
@ -115,6 +115,21 @@ spec:
|
||||
name: ${POSTGRESQL_CONF_SECRET}
|
||||
- name: OS_IDENTITY_API_VERSION
|
||||
value: "3"
|
||||
- name: NUMBER_OF_RETRIES_SEND_BACKUP_TO_REMOTE
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
key: REMOTE_BACKUP_RETRIES
|
||||
name: ${POSTGRESQL_CONF_SECRET}
|
||||
- name: MIN_DELAY_SEND_BACKUP_TO_REMOTE
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
key: REMOTE_BACKUP_SEND_DELAY_MIN
|
||||
name: ${POSTGRESQL_CONF_SECRET}
|
||||
- name: MAX_DELAY_SEND_BACKUP_TO_REMOTE
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
key: REMOTE_BACKUP_SEND_DELAY_MAX
|
||||
name: ${POSTGRESQL_CONF_SECRET}
|
||||
EOF
|
||||
|
||||
if $POSTGRESQL_REMOTE_BACKUP_ENABLED; then
|
||||
|
Loading…
x
Reference in New Issue
Block a user