28 lines
1.1 KiB
YAML
28 lines
1.1 KiB
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: {}
|
|
# Left empty = manual sync (you click Sync in the UI or run `argocd app sync`).
|
|
# Switch to automated once secrets.yaml/registry-credentials are confirmed
|
|
# working manually — auto-sync before that just means ArgoCD repeatedly
|
|
# tries to reconcile against a Deployment that can't pull its image or
|
|
# find its secrets yet. To enable later:
|
|
# automated:
|
|
# prune: true
|
|
# selfHeal: true
|
|
# syncOptions:
|
|
# - CreateNamespace=false # namespace.yaml in manifests/ already creates it
|