From a64a20422b59d6ae969ea06589b3f22da18bbd24 Mon Sep 17 00:00:00 2001 From: Alex Lebens Date: Sat, 21 Dec 2024 20:16:11 -0600 Subject: [PATCH] remove pg-16 cluster --- .../management/argo-workflows/Chart.yaml | 4 --- .../templates/external-secret.yaml | 4 +-- .../management/argo-workflows/values.yaml | 31 ++----------------- 3 files changed, 4 insertions(+), 35 deletions(-) diff --git a/clusters/cl01tl/management/argo-workflows/Chart.yaml b/clusters/cl01tl/management/argo-workflows/Chart.yaml index 4b4e3cefe..2ac83620e 100644 --- a/clusters/cl01tl/management/argo-workflows/Chart.yaml +++ b/clusters/cl01tl/management/argo-workflows/Chart.yaml @@ -23,10 +23,6 @@ dependencies: - name: argo-events version: 2.4.9 repository: https://argoproj.github.io/argo-helm - - name: postgres-cluster - alias: postgres-16-cluster - version: 3.19.0 - repository: http://alexlebens.github.io/helm-charts - name: postgres-cluster alias: postgres-17-cluster version: 3.19.0 diff --git a/clusters/cl01tl/management/argo-workflows/templates/external-secret.yaml b/clusters/cl01tl/management/argo-workflows/templates/external-secret.yaml index 5bd3b46f5..46309f6b6 100644 --- a/clusters/cl01tl/management/argo-workflows/templates/external-secret.yaml +++ b/clusters/cl01tl/management/argo-workflows/templates/external-secret.yaml @@ -33,10 +33,10 @@ spec: apiVersion: external-secrets.io/v1beta1 kind: ExternalSecret metadata: - name: argo-workflows-postgresql-16-cluster-backup-secret + name: argo-workflows-postgresql-17-cluster-backup-secret namespace: {{ .Release.Namespace }} labels: - app.kubernetes.io/name: argo-workflows-postgresql-16-cluster-backup-secret + app.kubernetes.io/name: argo-workflows-postgresql-17-cluster-backup-secret app.kubernetes.io/instance: {{ .Release.Name }} app.kubernetes.io/version: {{ .Chart.AppVersion }} app.kubernetes.io/component: database diff --git a/clusters/cl01tl/management/argo-workflows/values.yaml b/clusters/cl01tl/management/argo-workflows/values.yaml index c48e477fd..37e1210a4 100644 --- a/clusters/cl01tl/management/argo-workflows/values.yaml +++ b/clusters/cl01tl/management/argo-workflows/values.yaml @@ -96,23 +96,8 @@ argo-events: requests: cpu: 100m memory: 128Mi -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/argo-workflows/argo-workflows-postgresql-16-cluster - endpointCredentials: argo-workflows-postgresql-16-cluster-backup-secret - backupIndex: 1 postgres-17-cluster: - mode: replica + mode: standalone cluster: image: repository: ghcr.io/cloudnative-pg/postgresql @@ -123,20 +108,8 @@ postgres-17-cluster: storageClass: local-path monitoring: enabled: true - replica: - importType: microservice - importDatabases: - - app - externalCluster: - connectionParameters: - host: argo-workflows-postgresql-16-cluster-rw - user: app - dbname: app - password: - name: argo-workflows-postgresql-16-cluster-app - key: password backup: - enabled: false + enabled: true endpointURL: https://nyc3.digitaloceanspaces.com destinationPath: s3://postgres-backups-ce540ddf106d186bbddca68a/cl01tl/argo-workflows/argo-workflows-postgresql-17-cluster endpointCredentials: argo-workflows-postgresql-17-cluster-backup-secret