From 732dacf17b9e3a39fe1b84ff967e0b2fde5ed1ca Mon Sep 17 00:00:00 2001 From: Alex Lebens Date: Sun, 22 Dec 2024 17:02:02 -0600 Subject: [PATCH] remove pg-16 --- .../cl01tl/applications/jellystat/Chart.yaml | 4 --- .../jellystat/templates/external-secret.yaml | 32 ------------------- .../cl01tl/applications/jellystat/values.yaml | 21 +----------- 3 files changed, 1 insertion(+), 56 deletions(-) diff --git a/clusters/cl01tl/applications/jellystat/Chart.yaml b/clusters/cl01tl/applications/jellystat/Chart.yaml index 915969b5e..57d9d199d 100644 --- a/clusters/cl01tl/applications/jellystat/Chart.yaml +++ b/clusters/cl01tl/applications/jellystat/Chart.yaml @@ -19,10 +19,6 @@ dependencies: alias: jellystat repository: https://bjw-s.github.io/helm-charts/ version: 3.5.1 - - name: postgres-cluster - alias: postgres-16-cluster - version: 3.20.10 - repository: http://alexlebens.github.io/helm-charts - name: postgres-cluster alias: postgres-17-cluster version: 3.20.10 diff --git a/clusters/cl01tl/applications/jellystat/templates/external-secret.yaml b/clusters/cl01tl/applications/jellystat/templates/external-secret.yaml index ff735b634..d27179410 100644 --- a/clusters/cl01tl/applications/jellystat/templates/external-secret.yaml +++ b/clusters/cl01tl/applications/jellystat/templates/external-secret.yaml @@ -95,38 +95,6 @@ spec: metadataPolicy: None property: secret_key ---- -apiVersion: external-secrets.io/v1beta1 -kind: ExternalSecret -metadata: - name: jellystat-postgresql-16-cluster-backup-secret - namespace: {{ .Release.Namespace }} - labels: - app.kubernetes.io/name: jellystat-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/jellystat/values.yaml b/clusters/cl01tl/applications/jellystat/values.yaml index 723b1b07e..bcc9aea70 100644 --- a/clusters/cl01tl/applications/jellystat/values.yaml +++ b/clusters/cl01tl/applications/jellystat/values.yaml @@ -94,22 +94,6 @@ jellystat: main: - path: /app/backend/backup-data readOnly: false -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/jellystat/jellystat-postgresql-16-cluster - endpointCredentials: jellystat-postgresql-16-cluster-backup-secret - backupIndex: 1 - retentionPolicy: "7d" postgres-17-cluster: mode: standalone cluster: @@ -122,11 +106,8 @@ postgres-17-cluster: storageClass: local-path monitoring: enabled: true - bootstrap: - initdb: - database: app backup: - enabled: false + enabled: true endpointURL: https://nyc3.digitaloceanspaces.com destinationPath: s3://postgres-backups-ce540ddf106d186bbddca68a/cl01tl/jellystat/jellystat-postgresql-17-cluster endpointCredentials: jellystat-postgresql-17-cluster-backup-secret