gitops/apps/hello-api.yaml
2026-09-16 16:26:17 +00:00

30 lines
686 B
YAML

apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: hello-api
namespace: argocd
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
project: default
source:
repoURL: https://ns31240276.ip-51-195-4.eu/devops/gitops.git
targetRevision: main
path: manifests/hello-api
destination:
server: https://kubernetes.default.svc
namespace: hello-api
syncPolicy:
# Koi kubectl se chhed de to ArgoCD wapas git wali state laa dega.
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true
retry:
limit: 5
backoff:
duration: 10s
maxDuration: 3m
factor: 2