openstack-helm-infra/postgresql/templates/bin
Cliff Parsons c18ee59aff Fix postgresql database backup issue
Currently postgresql database backup job will fail due to not having
correct permissions on the mounted PVC. This patchset corrects the
permissions on the PVC mount so that the backup pods can write to the
/var/backup directory structure.

Another problem was that pg_dumpall was not able to get the correct
password from the admin_user.conf. This may be due to the extra lines
in the file, so this patchset reads it differently in order to find
the password. This was a change to the backup and restore scripts.

Also there are a number of small corrections made to the error handling
for both backup and restore scripts, to be consistent with the MariaDB
backup/restore scripts.

Change-Id: Ica361764c591099e16d03a0988f73c6976583ceb
2020-02-10 17:38:10 +00:00
..
_backup_postgresql.sh.tpl Fix postgresql database backup issue 2020-02-10 17:38:10 +00:00
_db_test.sh.tpl (postgresql) Add Helm test 2019-03-06 06:36:51 +00:00
_patroni_conversion.sh.tpl (postgresql) Cert auth for replication connections 2019-08-06 00:03:54 -05:00
_readiness.sh.tpl Patroni inclusion work for HA Postgres 2019-05-28 19:13:13 +00:00
_restore_postgresql.sh.tpl Fix postgresql database backup issue 2020-02-10 17:38:10 +00:00
_set_password.sh.tpl (postgresql) Cert auth for replication connections 2019-08-06 00:03:54 -05:00
_start.sh.tpl Patroni inclusion work for HA Postgres 2019-05-28 19:13:13 +00:00