Skip to content

Commit

Permalink
updating path for libjwt install
Browse files Browse the repository at this point in the history
  • Loading branch information
kincl committed Sep 6, 2023
1 parent 2ff6f2f commit d313e5e
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 8 deletions.
4 changes: 2 additions & 2 deletions slurm/images/slurm/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ WORKDIR /tmp/src
RUN git clone --depth 1 --single-branch -b v1.12.0 https://github.com/benmcollins/libjwt.git libjwt && \
cd libjwt && \
autoreconf -v --install && \
./configure --prefix=/usr/local && \
./configure --prefix=/usr && \
make -j && \
make install

Expand All @@ -29,7 +29,7 @@ RUN curl -LO https://download.schedmd.com/slurm/slurm-${SLURM_VERSION}.tar.bz2 &
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--with-jwt=/usr/local/ && \
--with-jwt=/usr && \
make && \
make install

Expand Down
2 changes: 2 additions & 0 deletions slurm/manifests/configs/slurm.conf
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ TaskPlugin=task/none
TreeWidth=65533
#UnkillableStepProgram=
#UsePAM=0
AuthAltTypes=auth/jwt
AuthAltParameters=jwks=/var/spool/slurm/statesave/jwks.json,userclaimfield=uid
#
#
# TIMERS
Expand Down
6 changes: 3 additions & 3 deletions slurm/manifests/statefulset-compute.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ spec:
serviceAccountName: slurm
initContainers:
- name: fix-munge-paths
image: quay.io/jkincl/munge:latest
image: ghcr.io/naps-product-sa/openshift-batch:munge-latest
command:
- sh
- -c
Expand All @@ -46,7 +46,7 @@ spec:
mountPath: /run/munge
containers:
- name: munge
image: quay.io/jkincl/munge:latest
image: ghcr.io/naps-product-sa/openshift-batch:munge-latest
command:
- /sbin/munged
- -F
Expand All @@ -60,7 +60,7 @@ spec:
- name: munge-key
mountPath: /etc/munge
- name: slurm
image: quay.io/jkincl/slurm:latest
image: ghcr.io/naps-product-sa/openshift-batch:slurm-latest
command:
- /sbin/slurmd
- -D
Expand Down
6 changes: 3 additions & 3 deletions slurm/manifests/statefulset-head.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ spec:
serviceAccountName: slurm
initContainers:
- name: fix-munge-paths
image: quay.io/jkincl/munge:latest
image: ghcr.io/naps-product-sa/openshift-batch:munge-latest
command:
- sh
- -c
Expand All @@ -45,7 +45,7 @@ spec:
mountPath: /run/munge
containers:
- name: munge
image: quay.io/jkincl/munge:latest
image: ghcr.io/naps-product-sa/openshift-batch:munge-latest
command:
- /sbin/munged
- -F
Expand All @@ -59,7 +59,7 @@ spec:
- name: munge-key
mountPath: /etc/munge
- name: slurm
image: quay.io/jkincl/slurm:latest
image: ghcr.io/naps-product-sa/openshift-batch:slurm-latest
command:
- /sbin/slurmctld
- -D
Expand Down

0 comments on commit d313e5e

Please sign in to comment.