From d5281abd981ed16c615c4fee7b2487867d90fd48 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Moritz=20J=C3=B6rg?= Date: Fri, 26 Sep 2025 16:41:13 +0200 Subject: [PATCH] fix: Update defaults --- values/slurm/values/slurm.yaml | 62 +++++++++++++--------------------- 1 file changed, 23 insertions(+), 39 deletions(-) diff --git a/values/slurm/values/slurm.yaml b/values/slurm/values/slurm.yaml index 55e881d7..ba283564 100644 --- a/values/slurm/values/slurm.yaml +++ b/values/slurm/values/slurm.yaml @@ -1,19 +1,3 @@ -# accounting: -# enabled: true - -# slurm-exporter: -# enabled: false - -# loginsets: -# slinky: -# enabled: false - -# nodesets: -# slinky: -# replicas: 0 - -# restapi: -# replicas: 0 # -- Set the image pull policy. # Ref: https://kubernetes.io/docs/concepts/containers/images/#image-pull-policy imagePullPolicy: IfNotPresent @@ -21,16 +5,16 @@ imagePullPolicy: IfNotPresent # -- (secretKeyRef) Slurm shared authentication key. # If empty, one will be generated and used. # Ref: https://slurm.schedmd.com/authentication.html#slurm -slurmKeyRef: {} - # name: slurm-auth-slurm - # key: slurm.key +slurmKeyRef: + name: slurm-auth-slurm + key: slurm.key # -- (secretKeyRef) Slurm cluster JWT HS256 authentication key. # If empty, one will be generated and used. # Ref: https://slurm.schedmd.com/authentication.html#jwt -jwtHs256KeyRef: {} - # name: slurm-auth-jwths256 - # key: jwt_hs256.key +jwtHs256KeyRef: + name: slurm-auth-jwths256 + key: jwt_hs256.key # -- The cluster name, which uniquely identifies the Slurm cluster. # If empty, one will be derived from the Controller CR object. @@ -71,11 +55,11 @@ configFiles: {} # Ref: https://slurm.schedmd.com/slurm.conf.html#OPT_PrologSlurmctld # Ref: https://slurm.schedmd.com/prolog_epilog.html # Ref: https://en.wikipedia.org/wiki/Shebang_(Unix) -prologSlurmctldScripts: {} - # 00-empty.sh: | - # #!/usr/bin/env bash - # set -euo pipefail - # exit 0 +prologSlurmctldScripts: + 00-empty.sh: | + #!/usr/bin/env bash + set -euo pipefail + exit 0 # -- (map[string]string) The Slurm EpilogSlurmctld scripts ran on slurmctld at job completion. # The map key represents the filename; the map value represents the script contents. @@ -83,11 +67,11 @@ prologSlurmctldScripts: {} # Ref: https://slurm.schedmd.com/slurm.conf.html#OPT_EpilogSlurmctld # Ref: https://slurm.schedmd.com/prolog_epilog.html # Ref: https://en.wikipedia.org/wiki/Shebang_(Unix) -epilogSlurmctldScripts: {} - # 00-empty.sh: | - # #!/usr/bin/env bash - # set -euo pipefail - # exit 0 +epilogSlurmctldScripts: + 00-empty.sh: | + #!/usr/bin/env bash + set -euo pipefail + exit 0 # -- (map[string]string) The Slurm Prolog scripts ran on all NodeSets. # The map key represents the filename; the map value represents the script contents. @@ -95,11 +79,11 @@ epilogSlurmctldScripts: {} # Ref: https://slurm.schedmd.com/slurm.conf.html#OPT_Prolog # Ref: https://slurm.schedmd.com/prolog_epilog.html # Ref: https://en.wikipedia.org/wiki/Shebang_(Unix) -prologScripts: {} - # 00-empty.sh: | - # #!/usr/bin/env bash - # set -euo pipefail - # exit 0 +prologScripts: + 00-empty.sh: | + #!/usr/bin/env bash + set -euo pipefail + exit 0 # -- (map[string]string) The Slurm Epilog scripts ran on all NodeSets. # The map key represents the filename; the map value represents the script contents. @@ -165,10 +149,10 @@ controller: enabled: true # -- Name of the existing `PersistentVolumeClaim` to use instead of creating one. # If this is not empty, then certain other fields will be ignored. - existingClaim: null + # existingClaim: null # -- (string) The name of the `StorageClass` for the created `PersistentVolumeClaim`. # Ref: https://kubernetes.io/docs/concepts/storage/storage-classes/ - storageClassName: null + # storageClassName: null # Create the `PersistentVolumeClaim` with the desired access modes. # Ref: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes accessModes: