* Add a basic Slurm config
[arvados-k8s.git] / charts / arvados / templates / slurm-configmap.yaml
diff --git a/charts/arvados/templates/slurm-configmap.yaml b/charts/arvados/templates/slurm-configmap.yaml
new file mode 100644 (file)
index 0000000..65d7ef6
--- /dev/null
@@ -0,0 +1,18 @@
+# Copyright (C) The Arvados Authors. All rights reserved.
+#
+# SPDX-License-Identifier: Apache-2.0
+
+apiVersion: v1
+kind: ConfigMap
+metadata:
+  name: slurm-configmap
+  labels:
+    app: {{ template "arvados.name" . }}
+    chart: {{ template "arvados.chart" . }}
+    release: {{ .Release.Name }}
+    heritage: {{ .Release.Service }}
+data:
+{{ (tpl (.Files.Glob "config/slurm/slurm.conf").AsConfig . ) | indent 2 }}
+binaryData:
+  munge.key:
+    {{ .Files.Get "config/slurm/munge.key" | b64enc }}