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

Minor fixes, some refactoring #76

Merged
merged 6 commits into from
Jul 24, 2024
Merged

Conversation

lkubb
Copy link
Member

@lkubb lkubb commented Jul 24, 2024

What does this PR do?

  • Uses the x509_v2 execution module in vault_pki instead of replicating code
  • Ensures vault.update_config works (forgotten import)
  • Ensures renew_cached does not crash when a lease was revoked early
  • Some test fixes/refactoring
  • Increases Pylint strictness
  • Some minor refactoring

What issues does this PR fix or reference?

Fixes: #77
Fixes: #78

Merge requirements satisfied?

[NOTICE] Bug fixes or features added to Salt require tests.

Commits signed with GPG?

Yes

lkubb added 5 commits July 24, 2024 12:26
... don't replicate what it does. Also some test corrections.
this would have caused an exception when calling renew_cached and a
lease was revoked early on the server
@lkubb lkubb marked this pull request as ready for review July 24, 2024 13:30
@lkubb lkubb merged commit 47a900b into salt-extensions:main Jul 24, 2024
17 checks passed
@lkubb lkubb deleted the small-fixes branch July 24, 2024 14:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[TECH DEBT] Duplicated x509_v2 code in vault_pki [BUG] vault.update_config crashes
1 participant