From 06932ef604ab643a00921d4e985cd3f627116d81 Mon Sep 17 00:00:00 2001 From: James Andariese Date: Thu, 27 Apr 2023 16:40:17 -0500 Subject: [PATCH] add ytmd --- argo1/templates/ytmd.yaml | 33 +++++++++++++++++++++++++++++++++ argo1/values.yaml | 1 + 2 files changed, 34 insertions(+) create mode 100644 argo1/templates/ytmd.yaml diff --git a/argo1/templates/ytmd.yaml b/argo1/templates/ytmd.yaml new file mode 100644 index 0000000..be554d3 --- /dev/null +++ b/argo1/templates/ytmd.yaml @@ -0,0 +1,33 @@ +# {{ 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 }} diff --git a/argo1/values.yaml b/argo1/values.yaml index 73d998c..80f98d3 100644 --- a/argo1/values.yaml +++ b/argo1/values.yaml @@ -111,3 +111,4 @@ external-secrets: {enabled: true} secrets: {enabled: true} sealed-secrets: {enabled: true} trust-manager: {enabled: true} +ytmd: {enabled: true}