From b396a5689c11d950733b485f7364fefd0f3ded7f Mon Sep 17 00:00:00 2001 From: Joseph Hanson Date: Mon, 23 Dec 2024 16:07:32 -0600 Subject: [PATCH] configuring new minio server --- .../cluster/externalsecret.yaml | 10 ++++++++++ .../cluster/postgrescluster.yaml | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) 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