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>
13 lines
210 B
YAML
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
|