Skip to content

Commit 336ec8c

Browse files
committed
Updated tag and created service account to modify host-keys-secret
1 parent 763de73 commit 336ec8c

File tree

3 files changed

+33
-1
lines changed

3 files changed

+33
-1
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
apiVersion: rbac.authorization.k8s.io/v1
2+
kind: Role
3+
metadata:
4+
name: secret-generator-role
5+
rules:
6+
- apiGroups: [""] # "" indicates the core API group
7+
resources: ["secrets"]
8+
verbs: ["get","apply","create", "patch"]
9+
10+
---
11+
12+
apiVersion: rbac.authorization.k8s.io/v1
13+
kind: RoleBinding
14+
metadata:
15+
name: secret-generator-rolebinding
16+
subjects:
17+
- kind: ServiceAccount
18+
name: secret-generator-account
19+
roleRef:
20+
kind: Role
21+
name: secret-generator-role
22+
apiGroup: rbac.authorization.k8s.io
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
apiVersion: v1
2+
kind: ServiceAccount
3+
metadata:
4+
name: secret-generator-account
5+
annotations:
6+
"kubernetes.io/enforce-mountable-secrets": "true"
7+
automountServiceAccountToken: True
8+
secrets:
9+
- name: host-keys-secret
10+

slurm-cluster-chart/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
slurmImage: ghcr.io/stackhpc/slurm-docker-cluster:f52e918
1+
slurmImage: ghcr.io/stackhpc/slurm-docker-cluster:763de73
22

33
replicas:
44
slurmd: 2

0 commit comments

Comments
 (0)