Files
nextgen-be/application.yaml
T

23 lines
772 B
YAML

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