34 lines
722 B
YAML
34 lines
722 B
YAML
# {{ if (index .Values "ytmd").enabled }}
|
|
apiVersion: argoproj.io/v1alpha1
|
|
kind: Application
|
|
metadata:
|
|
name: {{ .Release.Name }}-ytmd
|
|
namespace: argocd
|
|
finalizers:
|
|
- resources-finalizer.argocd.argoproj.io
|
|
spec:
|
|
project: default
|
|
source:
|
|
path: manifests
|
|
repoURL: https://git.strudelline.net/infra/ytmd
|
|
targetRevision: "main"
|
|
directory:
|
|
recurse: true
|
|
include: '*.yaml'
|
|
destination:
|
|
server: "https://kubernetes.default.svc"
|
|
namespace: argocd
|
|
syncPolicy:
|
|
automated:
|
|
prune: true
|
|
selfHeal: true
|
|
syncOptions:
|
|
- CreateNamespace=true
|
|
retry:
|
|
limit: 10
|
|
backoff:
|
|
duration: 5s
|
|
factor: 2
|
|
maxDuration: 3m0s
|
|
# {{- end }}
|