- Add hcloud-csi prototype (Hetzner Cloud CSI driver) - Add cloudnative-pg prototype (CNPG operator) - Add CNPG Cluster CR for Forgejo (2 instances, lean config for 4GB nodes) - Add 20Gi hcloud-volumes PVC for Forgejo git repos - Switch Forgejo from SQLite to PostgreSQL (forgejo-cnpg-rw service) - Switch Forgejo persistence to hcloud-volumes (forgejo-git-storage) - Fix ClusterRoleBinding subject namespaces for hcloud-csi and CNPG - Fix CNPG webhook service namespace references Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
27 lines
653 B
YAML
27 lines
653 B
YAML
apiVersion: argoproj.io/v1alpha1
|
|
kind: Application
|
|
metadata:
|
|
annotations:
|
|
myks.dev/environment: production
|
|
finalizers:
|
|
- resources-finalizer.argocd.argoproj.io
|
|
name: app-production-forgejo
|
|
namespace: argocd
|
|
spec:
|
|
destination:
|
|
namespace: forgejo
|
|
server: https://kubernetes.default.svc
|
|
project: env-production
|
|
source:
|
|
path: rendered/envs/production/forgejo
|
|
repoURL: ssh://git@git.tr1ceracop.de:222/gitea_admin/k8s-and-chill.git
|
|
targetRevision: main
|
|
syncPolicy:
|
|
automated:
|
|
prune: true
|
|
selfHeal: true
|
|
syncOptions:
|
|
- CreateNamespace=true
|
|
- ServerSideApply=true
|
|
- Replace=true
|