feat: add kueue

This commit is contained in:
2025-12-11 15:26:18 +01:00
parent 1b19734b6e
commit ea65c4581c
6 changed files with 93 additions and 0 deletions
+3
View File
@@ -0,0 +1,3 @@
kueue:
enabled: true
autosync: false
+3
View File
@@ -0,0 +1,3 @@
kueue:
enabled: true
autosync: false
+4
View File
@@ -0,0 +1,4 @@
kueue:
enabled: false
autosync: false
env: {{ .Environment.Name }}
+43
View File
@@ -0,0 +1,43 @@
{{ if .Values.clusterConfig.argo.enabled }}
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: kueue
namespace: argocd
annotations:
argocd.argoproj.io/sync-options: SkipDryRunOnMissingResource=true
argocd.argoproj.io/compare-options: ServerSideDiff=true
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
destination:
namespace: kueue-system
server: https://kubernetes.default.svc
project: default
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: {{ .Values.kueue.env }}
- name: HELMFILE_FILE_PATH
value: kueue.yaml.gotmpl
- repoURL: https://gitlab.com/oceanbox/manifests.git
targetRevision: main
ref: values
syncPolicy:
syncOptions:
- CreateNamespace=true
- ApplyOutOfSyncOnly=true
{{- if .Values.kueue.autosync }}
automated:
prune: true
selfHeal: false
{{- end }}
{{- end }}
View File