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>
26 lines
599 B
YAML
26 lines
599 B
YAML
apiVersion: networking.k8s.io/v1
|
|
kind: Ingress
|
|
metadata:
|
|
name: forgejo
|
|
namespace: forgejo
|
|
annotations:
|
|
cert-manager.io/cluster-issuer: letsencrypt-prod
|
|
traefik.ingress.kubernetes.io/router.entrypoints: websecure
|
|
traefik.ingress.kubernetes.io/router.tls: "true"
|
|
spec:
|
|
ingressClassName: traefik
|
|
rules:
|
|
- host: forgejo.basicstack.de
|
|
http:
|
|
paths:
|
|
- path: /
|
|
pathType: Prefix
|
|
backend:
|
|
service:
|
|
name: forgejo
|
|
port:
|
|
number: 3000
|
|
tls:
|
|
- hosts:
|
|
- forgejo.basicstack.de
|
|
secretName: forgejo-tls
|