fix(forgejo): rebuild with local storage (single pod, no Longhorn)

This commit is contained in:
Story Crater Bot
2026-07-22 13:26:55 -07:00
parent ed9cf4d1e6
commit e963ceb90e
+8 -6
View File
@@ -75,18 +75,20 @@ gitea:
serviceMonitor:
enabled: true # kube-prometheus-stack discovers ServiceMonitors cluster-wide
# ── Persistence (Longhorn RWX — git repo data shared across replicas) ────────
# ── Persistence (local/emptyDir — single pod only; no replicas) ────────
# Longhorn RWX volume was corrupted. Rebuild with local storage.
# Once stable, can re-enable RWX and scale to replicas.
persistence:
enabled: true
storageClass: longhorn
storageClass: "" # empty string = local/emptyDir, no storage backend
size: 20Gi
accessModes:
- ReadWriteMany
- ReadWriteOnce
# ── Replicas ──────────────────────────────────────────────────────────────────
# Postgres (CNPG) + Redis (session/cache/queue) + RWX storage means replicas
# no longer need to serialize on a single pod like the old SQLite setup did.
replicaCount: 2
# Temporary: single pod with local storage while volume recovers.
# Once stable, scale back to 2+ with RWX Longhorn storage.
replicaCount: 1
# ── Deployment strategy ────────────────────────────────────────────────────────
deployment: