stack.basicstack.de/apps/forgejo/forgejo-postgres-service.yaml
CTO Agent 08030791c1 Add Forgejo deployment manifests for Argo CD GitOps
Migrate all Forgejo deployment resources from cluster to Git repository:
- Forgejo Deployment with PostgreSQL backend
- Forgejo Service and Ingress with TLS
- Forgejo PersistentVolumeClaim (5Gi)
- PostgreSQL StatefulSet and Service
- Backup CronJob (daily at 03:00 UTC, 14-day retention)

All existing PVCs (forgejo-data, postgres-data-forgejo-postgres-0) and
Pocket-ID SSO configuration are preserved. No data loss expected.

The Argo CD Application (app-forgejo.yaml) is already configured to
sync from apps/forgejo/ path in this repository.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-07-12 13:55:47 +00:00

13 lines
210 B
YAML

apiVersion: v1
kind: Service
metadata:
name: forgejo-postgres
namespace: forgejo
spec:
type: ClusterIP
selector:
app: forgejo-postgres
ports:
- port: 5432
targetPort: 5432
protocol: TCP