Add Forgejo app and CNPG cluster (1 replica).

Operator is installed on-cluster; DB restored from Pi dump; repo data
rsynced onto local-path PVC. HTTPRoute kept for Gateway; public origin
is NodePort until Cilium hostNetwork Envoy can reach overlay backends.
This commit is contained in:
Sirius DevOps 2026-09-11 00:08:31 -04:00
commit 0ee4062413
No known key found for this signature in database
9 changed files with 173 additions and 2 deletions

View file

@ -0,0 +1,26 @@
apiVersion: postgresql.cnpg.io/v1
kind: Cluster
metadata:
name: pg
namespace: forgejo
spec:
instances: 1
imageName: ghcr.io/cloudnative-pg/postgresql:16
storage:
size: 10Gi
storageClass: local-path
affinity:
nodeSelector:
kubernetes.io/hostname: siriussec
bootstrap:
initdb:
database: forgejo
owner: forgejo
secret:
name: forgejo-pg-app
resources:
requests:
cpu: 100m
memory: 256Mi
limits:
memory: 1Gi