diff --git a/clusters/cl01tl/helm/argo-workflows/Chart.lock b/clusters/cl01tl/helm/argo-workflows/Chart.lock index 10e7b866d..2d81f9e53 100644 --- a/clusters/cl01tl/helm/argo-workflows/Chart.lock +++ b/clusters/cl01tl/helm/argo-workflows/Chart.lock @@ -7,6 +7,6 @@ dependencies: version: 2.4.19 - name: postgres-cluster repository: oci://harbor.alexlebens.net/helm-charts - version: 7.1.4 -digest: sha256:00c41114fb6f1b408ad5667779eead345f8d2dbc0a5383494fa6e98e6686fcad -generated: "2025-12-21T19:01:39.778602988Z" + version: 7.4.1 +digest: sha256:fb98e70395c338e557365284e475bf0c88a9428d55c6343c1f9e597334303ef5 +generated: "2025-12-22T22:58:07.521502-06:00" diff --git a/clusters/cl01tl/helm/argo-workflows/Chart.yaml b/clusters/cl01tl/helm/argo-workflows/Chart.yaml index 85856e494..5c6b99400 100644 --- a/clusters/cl01tl/helm/argo-workflows/Chart.yaml +++ b/clusters/cl01tl/helm/argo-workflows/Chart.yaml @@ -25,7 +25,7 @@ dependencies: repository: https://argoproj.github.io/argo-helm - name: postgres-cluster alias: postgres-18-cluster - version: 7.1.4 + version: 7.4.1 repository: oci://harbor.alexlebens.net/helm-charts icon: https://cdn.jsdelivr.net/gh/selfhst/icons/png/argo-cd.png appVersion: v3.7.6 diff --git a/clusters/cl01tl/helm/argo-workflows/templates/external-secret.yaml b/clusters/cl01tl/helm/argo-workflows/templates/external-secret.yaml index 9f85088da..a28701b32 100644 --- a/clusters/cl01tl/helm/argo-workflows/templates/external-secret.yaml +++ b/clusters/cl01tl/helm/argo-workflows/templates/external-secret.yaml @@ -26,70 +26,3 @@ spec: key: /authentik/oidc/argo-workflows metadataPolicy: None property: client - ---- -apiVersion: external-secrets.io/v1 -kind: ExternalSecret -metadata: - name: argo-workflows-postgresql-18-cluster-backup-secret - namespace: {{ .Release.Namespace }} - labels: - app.kubernetes.io/name: argo-workflows-postgresql-18-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: argo-workflows-postgresql-18-cluster-backup-secret-garage - namespace: {{ .Release.Namespace }} - labels: - app.kubernetes.io/name: argo-workflows-postgresql-18-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 diff --git a/clusters/cl01tl/helm/argo-workflows/values.yaml b/clusters/cl01tl/helm/argo-workflows/values.yaml index af5c070e3..e0341f03a 100644 --- a/clusters/cl01tl/helm/argo-workflows/values.yaml +++ b/clusters/cl01tl/helm/argo-workflows/values.yaml @@ -77,27 +77,16 @@ argo-events: memory: 128Mi postgres-18-cluster: mode: recovery - cluster: - storage: - storageClass: local-path - walStorage: - storageClass: local-path recovery: method: objectStore objectStore: - destinationPath: s3://postgres-backups/cl01tl/argo-workflows/argo-workflows-postgresql-18-cluster - endpointURL: http://garage-main.garage:3900 index: 1 - endpointCredentials: argo-workflows-postgresql-18-cluster-backup-secret-garage backup: objectStore: - name: garage-local - destinationPath: s3://postgres-backups/cl01tl/argo-workflows/argo-workflows-postgresql-18-cluster index: 1 - endpointURL: http://garage-main.garage:3900 - endpointCredentials: argo-workflows-postgresql-18-cluster-backup-secret-garage - endpointCredentialsIncludeRegion: true - retentionPolicy: "3d" + destinationBucket: postgres-backups + externalSecretCredentialPath: /garage/home-infra/postgres-backups isWALArchiver: true # - name: external # destinationPath: s3://postgres-backups-ce540ddf106d186bbddca68a/cl01tl/argo-workflows/argo-workflows-postgresql-18-cluster