Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(slurm_ops): implement initial jwt key manager #34

Merged
merged 6 commits into from
Oct 1, 2024

Commits on Oct 1, 2024

  1. feat(slurm_ops): add initial jwt key support

    Add initial support for managing jwt keys with the slurm_ops charm library.
    Currently relies on the cryptography library for generating an RSA key that is
    used to sign Slurm communications, but we'll eventually be made to rely on a dedicated
    `jwtctl` tool that can handle the key for us.
    
    Signed-off-by: Jason C. Nucciarone <[email protected]>
    NucciTheBoss committed Oct 1, 2024
    Configuration menu
    Copy the full SHA
    83d87d3 View commit details
    Browse the repository at this point in the history
  2. tests(slurm_ops): add unit tests for jwt key manager

    Signed-off-by: Jason C. Nucciarone <[email protected]>
    NucciTheBoss committed Oct 1, 2024
    Configuration menu
    Copy the full SHA
    2326c69 View commit details
    Browse the repository at this point in the history
  3. tests(slurm_ops): fix tests on py310 by explicitly mocking `_keyfile_…

    …path`
    
    Signed-off-by: Jason C. Nucciarone <[email protected]>
    NucciTheBoss committed Oct 1, 2024
    Configuration menu
    Copy the full SHA
    704777d View commit details
    Browse the repository at this point in the history
  4. feat(slurm_ops): add var_lib_path property to get the variable stat…

    …e data directory
    
    Signed-off-by: Jason C. Nucciarone <[email protected]>
    NucciTheBoss committed Oct 1, 2024
    Configuration menu
    Copy the full SHA
    0b6c197 View commit details
    Browse the repository at this point in the history
  5. docs(slurm_ops): update todo comments to link to github issues

    Follows style recommended in the Google Python styleguide.
    
    Signed-off-by: Jason C. Nucciarone <[email protected]>
    NucciTheBoss committed Oct 1, 2024
    Configuration menu
    Copy the full SHA
    438276c View commit details
    Browse the repository at this point in the history
  6. refactor(slurm_ops): pass _OpsManager rather than Path object to cons…

    …tructor
    
    Signed-off-by: Jason C. Nucciarone <[email protected]>
    NucciTheBoss committed Oct 1, 2024
    Configuration menu
    Copy the full SHA
    e4c7dba View commit details
    Browse the repository at this point in the history