From af59c3076d86a4bcb80e8df02927758368b945ff Mon Sep 17 00:00:00 2001 From: gitea-bot Date: Fri, 12 Dec 2025 21:55:54 +0000 Subject: [PATCH] Automated Manifest Update (#2451) This PR contains newly rendered Kubernetes manifests automatically generated by the CI workflow. Reviewed-on: https://gitea.alexlebens.dev/alexlebens/infrastructure/pulls/2451 Co-authored-by: gitea-bot Co-committed-by: gitea-bot --- ...uster-jellystat-postgresql-18-cluster.yaml | 36 +++++++++---------- .../jellystat/Deployment-jellystat.yaml | 10 +++--- ...tore-jellystat-postgresql-18-recovery.yaml | 29 +++++++++++++++ 3 files changed, 52 insertions(+), 23 deletions(-) create mode 100644 clusters/cl01tl/manifests/jellystat/ObjectStore-jellystat-postgresql-18-recovery.yaml diff --git a/clusters/cl01tl/manifests/jellystat/Cluster-jellystat-postgresql-18-cluster.yaml b/clusters/cl01tl/manifests/jellystat/Cluster-jellystat-postgresql-18-cluster.yaml index ed0c7e470..36a43a6a8 100644 --- a/clusters/cl01tl/manifests/jellystat/Cluster-jellystat-postgresql-18-cluster.yaml +++ b/clusters/cl01tl/manifests/jellystat/Cluster-jellystat-postgresql-18-cluster.yaml @@ -29,6 +29,13 @@ spec: parameters: barmanObjectName: "jellystat-postgresql-18-garage-local-backup" serverName: "jellystat-postgresql-18-backup-1" + externalClusters: + - name: recovery + plugin: + name: barman-cloud.cloudnative-pg.io + parameters: + barmanObjectName: "jellystat-postgresql-18-recovery" + serverName: jellystat-postgresql-18-backup-1 storage: size: 10Gi storageClass: local-path @@ -58,22 +65,15 @@ spec: enablePodMonitor: true disableDefaultQueries: false bootstrap: - initdb: - import: - source: - externalCluster: importSource - type: microservice - databases: - - app - schemaOnly: false + recovery: + database: app + source: jellystat-postgresql-18-backup-1 externalClusters: - - name: importSource - connectionParameters: - host: "jellystat-postgresql-17-cluster-rw" - port: "5432" - user: "app" - dbname: "app" - sslmode: "disable" - password: - name: jellystat-postgresql-17-cluster-app - key: password + - name: jellystat-postgresql-18-backup-1 + plugin: + name: barman-cloud.cloudnative-pg.io + enabled: true + isWALArchiver: false + parameters: + barmanObjectName: "jellystat-postgresql-18-recovery" + serverName: jellystat-postgresql-18-backup-1 diff --git a/clusters/cl01tl/manifests/jellystat/Deployment-jellystat.yaml b/clusters/cl01tl/manifests/jellystat/Deployment-jellystat.yaml index 757c4f1ac..e68d05b99 100644 --- a/clusters/cl01tl/manifests/jellystat/Deployment-jellystat.yaml +++ b/clusters/cl01tl/manifests/jellystat/Deployment-jellystat.yaml @@ -56,27 +56,27 @@ spec: valueFrom: secretKeyRef: key: username - name: jellystat-postgresql-17-cluster-app + name: jellystat-postgresql-18-cluster-app - name: POSTGRES_PASSWORD valueFrom: secretKeyRef: key: password - name: jellystat-postgresql-17-cluster-app + name: jellystat-postgresql-18-cluster-app - name: POSTGRES_DB valueFrom: secretKeyRef: key: dbname - name: jellystat-postgresql-17-cluster-app + name: jellystat-postgresql-18-cluster-app - name: POSTGRES_IP valueFrom: secretKeyRef: key: host - name: jellystat-postgresql-17-cluster-app + name: jellystat-postgresql-18-cluster-app - name: POSTGRES_PORT valueFrom: secretKeyRef: key: port - name: jellystat-postgresql-17-cluster-app + name: jellystat-postgresql-18-cluster-app image: cyfershepard/jellystat:1.1.6 imagePullPolicy: IfNotPresent name: main diff --git a/clusters/cl01tl/manifests/jellystat/ObjectStore-jellystat-postgresql-18-recovery.yaml b/clusters/cl01tl/manifests/jellystat/ObjectStore-jellystat-postgresql-18-recovery.yaml new file mode 100644 index 000000000..f69f64cfa --- /dev/null +++ b/clusters/cl01tl/manifests/jellystat/ObjectStore-jellystat-postgresql-18-recovery.yaml @@ -0,0 +1,29 @@ +apiVersion: barmancloud.cnpg.io/v1 +kind: ObjectStore +metadata: + name: "jellystat-postgresql-18-recovery" + namespace: jellystat + labels: + helm.sh/chart: postgres-18-cluster-6.16.1 + app.kubernetes.io/name: jellystat-postgresql-18 + app.kubernetes.io/instance: jellystat + app.kubernetes.io/part-of: jellystat + app.kubernetes.io/version: "6.16.1" + app.kubernetes.io/managed-by: Helm +spec: + configuration: + destinationPath: s3://postgres-backups/cl01tl/jellystat/jellystat-postgresql-18-cluster + endpointURL: http://garage-main.garage:3900 + wal: + compression: snappy + maxParallel: 1 + data: + compression: snappy + jobs: 1 + s3Credentials: + accessKeyId: + name: jellystat-postgresql-18-cluster-backup-secret-garage + key: ACCESS_KEY_ID + secretAccessKey: + name: jellystat-postgresql-18-cluster-backup-secret-garage + key: ACCESS_SECRET_KEY