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:
parent
f9189482e7
commit
0ee4062413
9 changed files with 173 additions and 2 deletions
26
apps/base/forgejo/cluster.yaml
Normal file
26
apps/base/forgejo/cluster.yaml
Normal 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
|
||||
Loading…
Reference in a new issue