argocd/argo1/templates/1-self.yaml

31 lines
795 B
YAML
Raw Normal View History

2023-04-23 16:19:35 +00:00
---
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: "{{ .Release.Name }}"
namespace: "{{ .Release.Namespace }}"
2023-04-24 00:52:05 +00:00
# DO NOT place the resource finalizer here. Since this is ArgoCD itself, it
# will never be able to finalize itself since it will have to delete itself
# before removing the finalizer.
2023-04-23 16:19:35 +00:00
spec:
project: default
source:
2023-04-23 19:24:00 +00:00
repoURL: "{{.Values.bootstrap.source.repoURL}}"
targetRevision: "{{.Values.bootstrap.source.targetRevision}}"
path: argo1
2023-04-23 16:19:35 +00:00
destination:
namespace: "{{ .Release.Namespace }}"
name: in-cluster
2023-04-23 16:29:38 +00:00
syncPolicy:
2023-04-24 00:28:28 +00:00
automated:
prune: true
selfHeal: true
2023-04-23 16:29:38 +00:00
syncOptions:
- CreateNamespace=true
retry:
limit: 10
backoff:
duration: 5s
factor: 2
maxDuration: 3m0s