feat: Add Jobsets

This commit is contained in:
2026-02-23 19:51:18 +01:00
parent bd85f43980
commit 655fd3827f
5 changed files with 89 additions and 0 deletions
+3
View File
@@ -0,0 +1,3 @@
jobset:
enabled: true
autosync: false
+3
View File
@@ -0,0 +1,3 @@
jobset:
enabled: false
autosync: false
+38
View File
@@ -0,0 +1,38 @@
{{- if .Values.clusterConfig.argo.enabled }}
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: jobset
namespace: argocd
spec:
destination:
namespace: jobset-system
server: 'https://kubernetes.default.svc'
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: jobset.yaml.gotmpl
project: sys
syncPolicy:
managedNamespaceMetadata:
labels:
component: sys
syncOptions:
- CreateNamespace=true
- ApplyOutOfSyncOnly=true
- ServerSideApply=true
{{- if .Values.jobset.autosync }}
automated:
prune: true
# selfHeal: false
{{- end }}
{{- end }}
+4
View File
@@ -0,0 +1,4 @@
prometheus:
enable: false
certManager:
enable: false