feat: add ArgoCD Application and backend k8s manifests
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user