diff --git a/kubernetes/apps/database/crunchy-postgres-operator/cluster/externalsecret.yaml b/kubernetes/apps/database/crunchy-postgres-operator/cluster/externalsecret.yaml index e822613a..d3b3a9f8 100644 --- a/kubernetes/apps/database/crunchy-postgres-operator/cluster/externalsecret.yaml +++ b/kubernetes/apps/database/crunchy-postgres-operator/cluster/externalsecret.yaml @@ -17,6 +17,7 @@ spec: [global] repo1-s3-key={{ .minio_crunchy_postgres_access_key }} repo1-s3-key-secret={{ .minio_crunchy_postgres_secret_key }} + repo1-s3-verify-tls=false encryption.conf: | [global] repo1-cipher-pass={{ .crunchy_postgres_backup_encryption_cipher }} @@ -36,3 +37,12 @@ spec: - regexp: source: "(.*)" target: "minio_$1" + - extract: + key: hetzner + rewrite: + - regexp: + source: "[^a-zA-Z0-9 -]" + target: "_" + - regexp: + source: "(.*)" + target: "hetzner_$1" diff --git a/kubernetes/apps/database/crunchy-postgres-operator/cluster/postgrescluster.yaml b/kubernetes/apps/database/crunchy-postgres-operator/cluster/postgrescluster.yaml index 96227268..b5349f00 100644 --- a/kubernetes/apps/database/crunchy-postgres-operator/cluster/postgrescluster.yaml +++ b/kubernetes/apps/database/crunchy-postgres-operator/cluster/postgrescluster.yaml @@ -178,7 +178,7 @@ spec: - name: repo1 # Minio s3: &minio bucket: "crunchy-main" - endpoint: "s3.hsn.dev" + endpoint: "10.1.1.61" region: "us-east-1" schedules: full: "0 1 * * 0" # Sunday at 01:00