Skip to content
This repository has been archived by the owner on Aug 9, 2024. It is now read-only.

fix: set `AuthAltTypes="auth/jwt" for jwt authentication #28

Merged
merged 1 commit into from
Jul 25, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/charm.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,7 @@ def _write_config_and_restart_slurmdbd(
}

if self._slurmctld.is_joined:
slurmdbd_full_config["AuthAltTypes"] = "auth/jwt"
slurmdbd_full_config["AuthAltParameters"] = (
'"jwt_key=/var/spool/slurmdbd/jwt_hs256.key"'
)
Expand Down