timescaledb-docker-ha icon indicating copy to clipboard operation
timescaledb-docker-ha copied to clipboard

Have pgbackrest wrapper update the environment every so often.

Open feikesteenbergen opened this issue 3 years ago • 0 comments

Currently, the script relies fully on the environment in which it was started. This removes the possibility of updating a k8s secret, and having the update trickle down to the pgbackrest subcommand.

Possible solution:

  • allow a directory including environment variables as an argument to the script
  • do an envdir <directory> <command> for every pgbackrest call if the directory was set on the command line

feikesteenbergen avatar Apr 28 '21 07:04 feikesteenbergen