fix: Argo app

This commit is contained in:
2025-09-26 16:22:22 +02:00
parent 4c6302d66f
commit 3db9b29ab2
@@ -2,11 +2,11 @@
apiVersion: argoproj.io/v1alpha1 apiVersion: argoproj.io/v1alpha1
kind: Application kind: Application
metadata: metadata:
name: slurm-operator name: slurm
namespace: argocd namespace: argocd
spec: spec:
destination: destination:
namespace: slinky namespace: slurm
server: 'https://kubernetes.default.svc' server: 'https://kubernetes.default.svc'
sources: sources:
- repoURL: {{ .Values.clusterConfig.manifests }} - repoURL: {{ .Values.clusterConfig.manifests }}
@@ -20,7 +20,7 @@ spec:
- name: HELMFILE_ENVIRONMENT - name: HELMFILE_ENVIRONMENT
value: default value: default
- name: HELMFILE_FILE_PATH - name: HELMFILE_FILE_PATH
value: slurm-operator.yaml.gotmpl value: slurm.yaml.gotmpl
project: sys project: sys
syncPolicy: syncPolicy:
managedNamespaceMetadata: managedNamespaceMetadata:
@@ -30,37 +30,9 @@ spec:
- CreateNamespace=true - CreateNamespace=true
- ApplyOutOfSyncOnly=true - ApplyOutOfSyncOnly=true
- ServerSideApply=true - ServerSideApply=true
{{- if .Values.slurm_operator.autosync }} {{- if .Values.slurm.autosync }}
automated: automated:
prune: true prune: true
# selfHeal: false # selfHeal: false
{{- end }} {{- end }}
---
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: slurm-crd
namespace: argocd
annotations:
argocd.argoproj.io/sync-wave: "-1"
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
destination:
namespace: slinky
server: 'https://kubernetes.default.svc'
source:
repoURL: 'ghcr.io/slinkyproject/charts'
targetRevision: '0.4.0'
chart: slurm-operator-crds
project: sys
syncPolicy:
managedNamespaceMetadata:
labels:
component: sys
automated: {}
syncOptions:
- ServerSideApply=true
- CreateNamespace=true
- ApplyOutOfSyncOnly=true
{{- end }} {{- end }}