feat: add ArgoCD Application and backend k8s manifests

This commit is contained in:
2026-09-23 15:55:48 +02:00
parent c08fddbdba
commit 2558948dd9
9 changed files with 191 additions and 91 deletions
+22
View File
@@ -0,0 +1,22 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: nextgen-be
namespace: argocd # the namespace ArgoCD itself runs in — adjust if different
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
project: default # or your ArgoCD AppProject name, if you use one per subgroup
source:
repoURL: "ssh://git@gitea-ssh.gitea.svc.cluster.local:22/gitea_admin/nextgen-be.git"
targetRevision: main
path: manifests
destination:
server: "https://138.199.131.114:6443"
namespace: nextgen-be
syncPolicy:
automated:
prune: true # deletes resources removed from git
selfHeal: true # reverts manual kubectl changes back to match git
syncOptions:
- CreateNamespace=false