argocd/argo1/templates/self.yaml

24 lines
485 B
YAML

---
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: "{{ .Release.Name }}"
namespace: "{{ .Release.Namespace }}"
spec:
project: default
source:
{{ .Values.bootstrap.source | toYaml | nindent 4 }}
destination:
namespace: "{{ .Release.Namespace }}"
name: in-cluster
syncPolicy:
automated: {}
syncOptions:
- CreateNamespace=true
retry:
limit: 10
backoff:
duration: 5s
factor: 2
maxDuration: 3m0s