From 5cac199ec298a92e47c19436b2debdec96ca997e Mon Sep 17 00:00:00 2001 From: Alex Lebens Date: Mon, 23 Dec 2024 00:05:28 -0600 Subject: [PATCH] remove pg-16 --- .../cl01tl/applications/roundcube/Chart.yaml | 4 --- .../roundcube/templates/external-secret.yaml | 32 ------------------- .../cl01tl/applications/roundcube/values.yaml | 15 --------- 3 files changed, 51 deletions(-) diff --git a/clusters/cl01tl/applications/roundcube/Chart.yaml b/clusters/cl01tl/applications/roundcube/Chart.yaml index d431c6a1e..9f37dbaf0 100644 --- a/clusters/cl01tl/applications/roundcube/Chart.yaml +++ b/clusters/cl01tl/applications/roundcube/Chart.yaml @@ -19,10 +19,6 @@ dependencies: alias: roundcube repository: https://bjw-s.github.io/helm-charts/ version: 3.5.1 - - name: postgres-cluster - alias: postgres-16-cluster - version: 3.21.0 - repository: http://alexlebens.github.io/helm-charts - name: postgres-cluster alias: postgres-17-cluster version: 3.21.0 diff --git a/clusters/cl01tl/applications/roundcube/templates/external-secret.yaml b/clusters/cl01tl/applications/roundcube/templates/external-secret.yaml index 08688c9d0..3d89c55ef 100644 --- a/clusters/cl01tl/applications/roundcube/templates/external-secret.yaml +++ b/clusters/cl01tl/applications/roundcube/templates/external-secret.yaml @@ -81,38 +81,6 @@ spec: metadataPolicy: None property: secret_key ---- -apiVersion: external-secrets.io/v1beta1 -kind: ExternalSecret -metadata: - name: roundcube-postgresql-16-cluster-backup-secret - namespace: {{ .Release.Namespace }} - labels: - app.kubernetes.io/name: roundcube-postgresql-16-cluster-backup-secret - app.kubernetes.io/instance: {{ .Release.Name }} - app.kubernetes.io/version: {{ .Chart.AppVersion }} - app.kubernetes.io/component: database - 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/v1beta1 kind: ExternalSecret diff --git a/clusters/cl01tl/applications/roundcube/values.yaml b/clusters/cl01tl/applications/roundcube/values.yaml index a6cc50d11..a49f411b1 100644 --- a/clusters/cl01tl/applications/roundcube/values.yaml +++ b/clusters/cl01tl/applications/roundcube/values.yaml @@ -221,21 +221,6 @@ roundcube: readOnly: true mountPropagation: None subPath: default.conf -postgres-16-cluster: - mode: standalone - cluster: - walStorage: - storageClass: local-path - storage: - storageClass: local-path - monitoring: - enabled: true - backup: - enabled: true - endpointURL: https://nyc3.digitaloceanspaces.com - destinationPath: s3://postgres-backups-ce540ddf106d186bbddca68a/cl01tl/roundcube/roundcube-postgresql-16-cluster - endpointCredentials: roundcube-postgresql-16-cluster-backup-secret - backupIndex: 1 postgres-17-cluster: mode: standalone cluster: