feat: helmfileify yolo-dl

This commit is contained in:
2025-06-24 11:44:24 +02:00
parent bba55ef84c
commit aa94b08b9f
5 changed files with 87 additions and 0 deletions
+4
View File
@@ -0,0 +1,4 @@
yolo_dl:
enabled: true
autosync: false
+3
View File
@@ -0,0 +1,3 @@
yolo_dl:
enabled: true
autosync: false
+42
View File
@@ -0,0 +1,42 @@
{{- if .Values.clusterConfig.argo.enabled }}
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: yolo-dl
namespace: argocd
annotations:
argocd.argoproj.io/sync-options: SkipDryRunOnMissingResource=true
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
destination:
namespace: yolo-dl
server: https://10.255.241.99:4443
sources:
- repoURL: {{ .Values.clusterConfig.manifests }}
targetRevision: HEAD
path: helmfile.d
plugin:
name: helmfile-cmp
env:
- name: CLUSTER_NAME
value: {{ .Values.clusterConfig.cluster }}
- name: HELMFILE_ENVIRONMENT
value: default
- name: HELMFILE_FILE_PATH
value: yolo-dl.yaml.gotmpl
project: aux
syncPolicy:
managedNamespaceMetadata:
labels:
component: sys
syncOptions:
- CreateNamespace=true
- ApplyOutOfSyncOnly=true
# - ServerSideApply=true
{{- if .Values.yolo_dl.autosync }}
automated:
prune: true
# selfHeal: false
{{- end }}
{{- end }}
View File