37 lines
893 B
YAML
37 lines
893 B
YAML
apiVersion: argoproj.io/v1alpha1
|
|
kind: Application
|
|
metadata:
|
|
name: auth-server-dev
|
|
namespace: argocd
|
|
annotations:
|
|
argocd.argoproj.io/sync-wave: "20"
|
|
argocd.argoproj.io/sync-options: Prune=confirm,Delete=confirm
|
|
finalizers:
|
|
- resources-finalizer.argocd.argoproj.io
|
|
spec:
|
|
project: apps-dev
|
|
source:
|
|
repoURL: https://git.learn.hyeonworks.com/donghyeon.kang/project-gitops
|
|
targetRevision: main
|
|
path: clusters/dev-k3s/manifests/auth-server
|
|
destination:
|
|
server: https://kubernetes.default.svc
|
|
namespace: auth-dev
|
|
syncPolicy:
|
|
automated:
|
|
enabled: true
|
|
prune: true
|
|
selfHeal: true
|
|
syncOptions:
|
|
- CreateNamespace=true
|
|
- PruneLast=true
|
|
- FailOnSharedResource=true
|
|
retry:
|
|
limit: 5
|
|
refresh: true
|
|
backoff:
|
|
duration: 5s
|
|
factor: 2
|
|
maxDuration: 3m
|
|
revisionHistoryLimit: 5
|