From 063b3da66cb75c7f07f51cbb2b822c25fe320400 Mon Sep 17 00:00:00 2001 From: 0xFEEDC0DE64 Date: Sun, 25 Oct 2026 11:41:49 +0100 Subject: [PATCH] Cut Asciinema over to CloudNativePG --- apps/asciinema/values.yaml | 1 + apps/backup/postgresql/asciinema/kustomization.yaml | 2 +- bootstrap/asciinema.yaml | 4 ++++ 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/apps/asciinema/values.yaml b/apps/asciinema/values.yaml index d721be6..af3e9b9 100644 --- a/apps/asciinema/values.yaml +++ b/apps/asciinema/values.yaml @@ -35,6 +35,7 @@ ingress: host: asciinema.brunner.ninja postgresql: + enabled: false persistence: storageClass: rook-ceph-block-ec size: 8Gi diff --git a/apps/backup/postgresql/asciinema/kustomization.yaml b/apps/backup/postgresql/asciinema/kustomization.yaml index ec33bdc..13d3a87 100644 --- a/apps/backup/postgresql/asciinema/kustomization.yaml +++ b/apps/backup/postgresql/asciinema/kustomization.yaml @@ -20,7 +20,7 @@ patches: env: - {name: BACKUP_TARGET, value: asciinema} - {name: BACKUP_MODE, value: database} - - {name: PGHOST, value: postgresql} + - {name: PGHOST, value: asciinema-postgresql-rw} - {name: PGUSER, value: asciinema} - {name: PGDATABASE, value: asciinema} - name: PGPASSWORD diff --git a/bootstrap/asciinema.yaml b/bootstrap/asciinema.yaml index a85c3ec..3ccf3a6 100644 --- a/bootstrap/asciinema.yaml +++ b/bootstrap/asciinema.yaml @@ -23,5 +23,9 @@ spec: server: https://kubernetes.default.svc namespace: asciinema syncPolicy: + automated: + enabled: true + prune: true + selfHeal: true syncOptions: - CreateNamespace=true