From 6a797832666fec3149c21d81c099a7c722091001 Mon Sep 17 00:00:00 2001 From: Alex Lebens Date: Thu, 12 Dec 2024 12:11:49 -0600 Subject: [PATCH] switch to digital ocean --- clusters/cl01tl/platform/authentik/Chart.yaml | 2 +- .../authentik/templates/external-secret.yaml | 8 ++++---- clusters/cl01tl/platform/authentik/values.yaml | 12 ++---------- 3 files changed, 7 insertions(+), 15 deletions(-) diff --git a/clusters/cl01tl/platform/authentik/Chart.yaml b/clusters/cl01tl/platform/authentik/Chart.yaml index e9ad5bea8..9166398e0 100644 --- a/clusters/cl01tl/platform/authentik/Chart.yaml +++ b/clusters/cl01tl/platform/authentik/Chart.yaml @@ -29,7 +29,7 @@ dependencies: version: 1.10.0 - name: postgres-cluster alias: postgres-16-cluster - version: 3.13.0 + version: 3.14.0 repository: http://alexlebens.github.io/helm-charts icon: https://raw.githubusercontent.com/walkxcode/dashboard-icons/main/png/authentik.png appVersion: 2024.8.2 diff --git a/clusters/cl01tl/platform/authentik/templates/external-secret.yaml b/clusters/cl01tl/platform/authentik/templates/external-secret.yaml index 4091c6f89..83acb0a4b 100644 --- a/clusters/cl01tl/platform/authentik/templates/external-secret.yaml +++ b/clusters/cl01tl/platform/authentik/templates/external-secret.yaml @@ -68,13 +68,13 @@ spec: remoteRef: conversionStrategy: Default decodingStrategy: None - key: /aws/keys/cl01tl-authentik-postgresql + key: /digital-ocean/home-infra/postgres-backups metadataPolicy: None - property: access_key + property: access - secretKey: ACCESS_SECRET_KEY remoteRef: conversionStrategy: Default decodingStrategy: None - key: /aws/keys/cl01tl-authentik-postgresql + key: /digital-ocean/home-infra/postgres-backups metadataPolicy: None - property: secret_key + property: secret diff --git a/clusters/cl01tl/platform/authentik/values.yaml b/clusters/cl01tl/platform/authentik/values.yaml index 90a309069..474b95d08 100644 --- a/clusters/cl01tl/platform/authentik/values.yaml +++ b/clusters/cl01tl/platform/authentik/values.yaml @@ -75,17 +75,9 @@ postgres-16-cluster: storageClass: local-path monitoring: enabled: true - prometheusRule: - enabled: false backup: enabled: true - endpointURL: https://s3.us-east-2.amazonaws.com - destinationPath: s3://cl01tl-postgresql-backups/authentik + endpointURL: https://nyc3.digitaloceanspaces.com + destinationPath: s3://postgres-backups-ce540ddf106d186bbddca68a/cl01tl/authentik/authentik-postgresql-16-cluster endpointCredentials: authentik-postgresql-16-cluster-backup-secret backupIndex: 1 - tags: - backupRetentionPolicy: "expire" - user: "cl01tl-authentik-postgresql" - historyTags: - backupRetentionPolicy: "keep" - user: "cl01tl-authentik-postgresql"