From 38c04489a1ad88c2104edb1382af2e008dc32ebb Mon Sep 17 00:00:00 2001 From: Fabian Fischer <10788152+glrf@users.noreply.github.com> Date: Tue, 14 Dec 2021 12:44:22 +0100 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Chris --- class/defaults.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/class/defaults.yml b/class/defaults.yml index 28a2498d..50d0cd69 100644 --- a/class/defaults.yml +++ b/class/defaults.yml @@ -253,6 +253,7 @@ parameters: # TODO: Rename master to primary when upgrading to Postgres 11 https://github.com/bitnami/charts/commit/7eabc85fd4fae43127228a22829c7ce3fe85c389 master: podAnnotations: + # Annotations to support both K8up v1 and v2 k8up.syn.tools/backupcommand: sh -c 'PGDATABASE="$POSTGRES_DB" PGUSER="$POSTGRES_USER" PGPASSWORD="$POSTGRES_PASSWORD" pg_dump --clean' k8up.syn.tools/file-extension: .sql k8up.io/backupcommand: sh -c 'PGDATABASE="$POSTGRES_DB" PGUSER="$POSTGRES_USER" PGPASSWORD="$POSTGRES_PASSWORD" pg_dump --clean'