You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 18, 2024. It is now read-only.
Describe the bug
The default values.yaml file sets empty credentials for AWS S3 buckets, that are passed to pgbackrest via environment variables. Unfortunately, they prevent setting up Azure backups, because (probably through a bug) as soon as pgbackrest finds an empty S3 environment variable, it starts complaining about it being empty, even when repo1-type is set to azure.
To Reproduce
Helm install with the following values:
to the values file does not update the secret anymore that induces the env variables into the stateful set when backups are setup after the initial deployment of timescaledb.
Expected behavior
Setting the default PGBACKREST_REPO1_S3_* to null, instead of the empty string, or not setting them at all will not create empty environment variables in the container that cause a very misleading error message. It took me a while to figure out that the empty env variables caused pgbackrest to complain about S3 bucket credentials even though the repo1-type was set to azure.
The text was updated successfully, but these errors were encountered:
TobiasJacob
added a commit
to TobiasJacob/timescaledb-kubernetes
that referenced
this issue
Jun 22, 2022
Describe the bug
The default values.yaml file sets empty credentials for AWS S3 buckets, that are passed to pgbackrest via environment variables. Unfortunately, they prevent setting up Azure backups, because (probably through a bug) as soon as pgbackrest finds an empty S3 environment variable, it starts complaining about it being empty, even when
repo1-type
is set to azure.To Reproduce
Helm install with the following values:
helm install -f ./bugvals.yaml asdf timescaledb/timescaledb-single
Then pgbackrest does not work even though the repo type is set to azure.
The issue is caused by the empty env variables.
Adding this
to the values file does not update the secret anymore that induces the env variables into the stateful set when backups are setup after the initial deployment of timescaledb.
Expected behavior
Setting the default
PGBACKREST_REPO1_S3_*
to null, instead of the empty string, or not setting them at all will not create empty environment variables in the container that cause a very misleading error message. It took me a while to figure out that the empty env variables caused pgbackrest to complain about S3 bucket credentials even though therepo1-type
was set toazure
.The text was updated successfully, but these errors were encountered: