From a74c53b496db3a052511eaa7c708ba6b92982330 Mon Sep 17 00:00:00 2001 From: Alex Lebens Date: Thu, 11 Dec 2025 17:23:10 -0600 Subject: [PATCH] remove old cluster --- clusters/cl01tl/helm/gatus/Chart.lock | 7 +- clusters/cl01tl/helm/gatus/Chart.yaml | 4 -- .../helm/gatus/templates/external-secret.yaml | 67 ------------------- clusters/cl01tl/helm/gatus/values.yaml | 56 ---------------- 4 files changed, 2 insertions(+), 132 deletions(-) diff --git a/clusters/cl01tl/helm/gatus/Chart.lock b/clusters/cl01tl/helm/gatus/Chart.lock index d00af1800..32622bb50 100644 --- a/clusters/cl01tl/helm/gatus/Chart.lock +++ b/clusters/cl01tl/helm/gatus/Chart.lock @@ -5,8 +5,5 @@ dependencies: - name: postgres-cluster repository: oci://harbor.alexlebens.net/helm-charts version: 6.16.1 -- name: postgres-cluster - repository: oci://harbor.alexlebens.net/helm-charts - version: 6.16.1 -digest: sha256:55c54e39ace9a5658ff4db55798527b8c8c1b6d82447ad6e524e739838e9cfa8 -generated: "2025-12-11T17:13:29.628872-06:00" +digest: sha256:11d46f37e9f98a5562239e1b827a4caccc0ca14dc738681465e27ef5c5edd6d0 +generated: "2025-12-11T17:23:01.072262-06:00" diff --git a/clusters/cl01tl/helm/gatus/Chart.yaml b/clusters/cl01tl/helm/gatus/Chart.yaml index 6f360cd37..ab6cf5afc 100644 --- a/clusters/cl01tl/helm/gatus/Chart.yaml +++ b/clusters/cl01tl/helm/gatus/Chart.yaml @@ -20,10 +20,6 @@ dependencies: - name: gatus repository: https://twin.github.io/helm-charts version: 1.4.4 - - name: postgres-cluster - alias: postgres-17-cluster - version: 6.16.1 - repository: oci://harbor.alexlebens.net/helm-charts - name: postgres-cluster alias: postgres-18-cluster version: 6.16.1 diff --git a/clusters/cl01tl/helm/gatus/templates/external-secret.yaml b/clusters/cl01tl/helm/gatus/templates/external-secret.yaml index 7770e5a35..7b551fd9c 100644 --- a/clusters/cl01tl/helm/gatus/templates/external-secret.yaml +++ b/clusters/cl01tl/helm/gatus/templates/external-secret.yaml @@ -50,73 +50,6 @@ spec: metadataPolicy: None property: secret ---- -apiVersion: external-secrets.io/v1 -kind: ExternalSecret -metadata: - name: gatus-postgresql-17-cluster-backup-secret - namespace: {{ .Release.Namespace }} - labels: - app.kubernetes.io/name: gatus-postgresql-17-cluster-backup-secret - app.kubernetes.io/instance: {{ .Release.Name }} - app.kubernetes.io/part-of: {{ .Release.Name }} -spec: - secretStoreRef: - kind: ClusterSecretStore - name: vault - data: - - secretKey: ACCESS_KEY_ID - remoteRef: - conversionStrategy: Default - decodingStrategy: None - key: /digital-ocean/home-infra/postgres-backups - metadataPolicy: None - property: access - - secretKey: ACCESS_SECRET_KEY - remoteRef: - conversionStrategy: Default - decodingStrategy: None - key: /digital-ocean/home-infra/postgres-backups - metadataPolicy: None - property: secret - ---- -apiVersion: external-secrets.io/v1 -kind: ExternalSecret -metadata: - name: gatus-postgresql-17-cluster-backup-secret-garage - namespace: {{ .Release.Namespace }} - labels: - app.kubernetes.io/name: gatus-postgresql-17-cluster-backup-secret-garage - app.kubernetes.io/instance: {{ .Release.Name }} - app.kubernetes.io/part-of: {{ .Release.Name }} -spec: - secretStoreRef: - kind: ClusterSecretStore - name: vault - data: - - secretKey: ACCESS_KEY_ID - remoteRef: - conversionStrategy: Default - decodingStrategy: None - key: /garage/home-infra/postgres-backups - metadataPolicy: None - property: ACCESS_KEY_ID - - secretKey: ACCESS_SECRET_KEY - remoteRef: - conversionStrategy: Default - decodingStrategy: None - key: /garage/home-infra/postgres-backups - metadataPolicy: None - property: ACCESS_SECRET_KEY - - secretKey: ACCESS_REGION - remoteRef: - conversionStrategy: Default - decodingStrategy: None - key: /garage/home-infra/postgres-backups - metadataPolicy: None - property: ACCESS_REGION - --- apiVersion: external-secrets.io/v1 kind: ExternalSecret diff --git a/clusters/cl01tl/helm/gatus/values.yaml b/clusters/cl01tl/helm/gatus/values.yaml index 927c48022..7601b9678 100644 --- a/clusters/cl01tl/helm/gatus/values.yaml +++ b/clusters/cl01tl/helm/gatus/values.yaml @@ -378,62 +378,6 @@ gatus: url: https://home.alexlebens.dev <<: *defaults group: external -postgres-17-cluster: - mode: recovery - cluster: - storage: - storageClass: local-path - walStorage: - storageClass: local-path - monitoring: - enabled: true - prometheusRule: - enabled: true - recovery: - method: objectStore - objectStore: - destinationPath: s3://postgres-backups/cl01tl/gatus/gatus-postgresql-17-cluster - endpointURL: http://garage-main.garage:3900 - index: 1 - endpointCredentials: gatus-postgresql-17-cluster-backup-secret-garage - backup: - objectStore: - - name: external - destinationPath: s3://postgres-backups-ce540ddf106d186bbddca68a/cl01tl/gatus/gatus-postgresql-17-cluster - index: 2 - retentionPolicy: "30d" - isWALArchiver: false - - name: garage-local - destinationPath: s3://postgres-backups/cl01tl/gatus/gatus-postgresql-17-cluster - index: 1 - endpointURL: http://garage-main.garage:3900 - endpointCredentials: gatus-postgresql-17-cluster-backup-secret-garage - endpointCredentialsIncludeRegion: true - retentionPolicy: "3d" - isWALArchiver: true - # - name: garage-remote - # destinationPath: s3://postgres-backups/cl01tl/gatus/gatus-postgresql-17-cluster - # index: 1 - # endpointURL: https://garage-ps10rp.boreal-beaufort.ts.net:3900 - # endpointCredentials: gatus-postgresql-17-cluster-backup-secret-garage - # retentionPolicy: "30d" - # data: - # compression: bzip2 - # jobs: 2 - scheduledBackups: - - name: daily-backup - suspend: false - schedule: "0 0 0 * * *" - backupName: external - - name: live-backup - suspend: false - immediate: true - schedule: "0 0 0 * * *" - backupName: garage-local - # - name: weekly-backup - # suspend: false - # schedule: "0 0 4 * * SAT" - # backupName: garage-remote postgres-18-cluster: mode: recovery cluster: