From 733c4c9f547d74f7f1de97dd332876b570f4f886 Mon Sep 17 00:00:00 2001 From: gitea-bot Date: Tue, 3 Mar 2026 23:22:59 +0000 Subject: [PATCH] Automated Manifest Update (#4403) This PR contains newly rendered Kubernetes manifests automatically generated by the CI workflow. Reviewed-on: https://gitea.alexlebens.dev/alexlebens/infrastructure/pulls/4403 Co-authored-by: gitea-bot Co-committed-by: gitea-bot --- ...luster-dawarich-postgresql-18-cluster.yaml | 18 ++++++----- .../dawarich/Deployment-dawarich.yaml | 30 +++---------------- ...resql-18-scheduled-backup-live-backup.yaml | 2 +- 3 files changed, 16 insertions(+), 34 deletions(-) diff --git a/clusters/cl01tl/manifests/dawarich/Cluster-dawarich-postgresql-18-cluster.yaml b/clusters/cl01tl/manifests/dawarich/Cluster-dawarich-postgresql-18-cluster.yaml index b03b05a0d..6718a5118 100644 --- a/clusters/cl01tl/manifests/dawarich/Cluster-dawarich-postgresql-18-cluster.yaml +++ b/clusters/cl01tl/manifests/dawarich/Cluster-dawarich-postgresql-18-cluster.yaml @@ -52,11 +52,15 @@ spec: barmanObjectName: "dawarich-postgresql-18-backup-garage-local" serverName: "dawarich-postgresql-18-backup-1" bootstrap: - initdb: + recovery: database: app - postInitTemplateSQL: - - CREATE EXTENSION postgis; - - CREATE EXTENSION postgis_topology; - - CREATE EXTENSION fuzzystrmatch; - - CREATE EXTENSION postgis_tiger_geocoder; - owner: app + source: dawarich-postgresql-18-backup-1 + externalClusters: + - name: dawarich-postgresql-18-backup-1 + plugin: + name: barman-cloud.cloudnative-pg.io + enabled: true + isWALArchiver: false + parameters: + barmanObjectName: "dawarich-postgresql-18-recovery" + serverName: dawarich-postgresql-18-backup-1 diff --git a/clusters/cl01tl/manifests/dawarich/Deployment-dawarich.yaml b/clusters/cl01tl/manifests/dawarich/Deployment-dawarich.yaml index 0bc80eb83..f4b50792e 100644 --- a/clusters/cl01tl/manifests/dawarich/Deployment-dawarich.yaml +++ b/clusters/cl01tl/manifests/dawarich/Deployment-dawarich.yaml @@ -74,13 +74,13 @@ spec: key: dbname name: dawarich-postgresql-18-cluster-app - name: APPLICATION_HOSTS - value: dawarich.alexlebens.net,localhost,::1,127.0.0.1 + value: dawarich.alexlebens.net,dawarich.dawarich,localhost,::1,127.0.0.1 - name: TIME_ZONE value: America/Chicago - name: APPLICATION_PROTOCOL value: http - name: OIDC_ISSUER - value: https://authentik.alexlebens.net/application/o/darwich/.well-known/openid-configuration + value: https://authentik.alexlebens.net/application/o/darwich/ - name: OIDC_REDIRECT_URI value: https://dawarich.alexlebens.net/users/auth/openid_connect/callback - name: OIDC_CLIENT_ID @@ -116,17 +116,6 @@ spec: value: "true" image: freikin/dawarich:1.3.1 imagePullPolicy: IfNotPresent - livenessProbe: - exec: - command: - - /bin/sh - - -c - - wget -qO - http://127.0.0.1:3000/api/v1/health | grep -q '\"status\"\\s*:\\s*\"ok\"' - failureThreshold: 5 - initialDelaySeconds: 60 - periodSeconds: 10 - successThreshold: 1 - timeoutSeconds: 10 name: main resources: requests: @@ -174,7 +163,7 @@ spec: key: dbname name: dawarich-postgresql-18-cluster-app - name: APPLICATION_HOSTS - value: dawarich.alexlebens.net,localhost,::1,127.0.0.1 + value: dawarich.alexlebens.net,dawarich.dawarich,localhost,::1,127.0.0.1 - name: TIME_ZONE value: America/Chicago - name: APPLICATION_PROTOCOL @@ -182,7 +171,7 @@ spec: - name: DISTANCE_UNIT value: mi - name: OIDC_ISSUER - value: https://authentik.alexlebens.net/application/o/darwich/.well-known/openid-configuration + value: https://authentik.alexlebens.net/application/o/darwich/ - name: OIDC_REDIRECT_URI value: https://dawarich.alexlebens.net/users/auth/openid_connect/callback - name: OIDC_CLIENT_ID @@ -218,17 +207,6 @@ spec: value: "true" image: freikin/dawarich:1.3.1 imagePullPolicy: IfNotPresent - livenessProbe: - exec: - command: - - /bin/sh - - -c - - pgrep -f sidekiq - failureThreshold: 5 - initialDelaySeconds: 60 - periodSeconds: 10 - successThreshold: 1 - timeoutSeconds: 10 name: sidekiq resources: requests: diff --git a/clusters/cl01tl/manifests/dawarich/ScheduledBackup-dawarich-postgresql-18-scheduled-backup-live-backup.yaml b/clusters/cl01tl/manifests/dawarich/ScheduledBackup-dawarich-postgresql-18-scheduled-backup-live-backup.yaml index 0b9fb70b2..e71f86f54 100644 --- a/clusters/cl01tl/manifests/dawarich/ScheduledBackup-dawarich-postgresql-18-scheduled-backup-live-backup.yaml +++ b/clusters/cl01tl/manifests/dawarich/ScheduledBackup-dawarich-postgresql-18-scheduled-backup-live-backup.yaml @@ -13,7 +13,7 @@ metadata: app.kubernetes.io/name: "dawarich-postgresql-18-scheduled-backup-live-backup" spec: immediate: true - suspend: true + suspend: false schedule: "0 0 0 * * *" backupOwnerReference: self cluster: