This commit is contained in:
James Andariese 2023-04-27 16:40:17 -05:00
parent d99aab2379
commit 06932ef604
2 changed files with 34 additions and 0 deletions

33
argo1/templates/ytmd.yaml Normal file
View File

@ -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 }}

View File

@ -111,3 +111,4 @@ external-secrets: {enabled: true}
secrets: {enabled: true} secrets: {enabled: true}
sealed-secrets: {enabled: true} sealed-secrets: {enabled: true}
trust-manager: {enabled: true} trust-manager: {enabled: true}
ytmd: {enabled: true}