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

PKI: Track last time auto tidy was run across restarts #28488

Merged
merged 9 commits into from
Sep 26, 2024

Commits on Sep 25, 2024

  1. Track the last PKI auto-tidy time ran for use across nodes

     - If the interval time for auto-tidy is longer then say a regularly
       scheduled restart of Vault, auto-tidy is never run. This is due to
       the time of the last run of tidy is only kept in memory and
       initialized on startup to the current time
     - Store the last run of any tidy, to maintain previous behavior, to
       a cluster local file, which is read in/initialized upon a mount
       initialization.
    stevendpclark committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    cb66831 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3c19c95 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a010e7a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    fd14c01 View commit details
    Browse the repository at this point in the history
  5. Add cl

    stevendpclark committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    f96e89e View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    e2c2074 View commit details
    Browse the repository at this point in the history
  7. Apply Claire's suggestions from code review

    Co-authored-by: claire bontempo <[email protected]>
    stevendpclark and hellobontempo authored Sep 25, 2024
    Configuration menu
    Copy the full SHA
    696b777 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    642e5fc View commit details
    Browse the repository at this point in the history

Commits on Sep 26, 2024

  1. remove explicit defaults and types so we retrieve from backend, decou…

    …ple enabling auto tidy from duration, move params to auto settings section
    hellobontempo committed Sep 26, 2024
    Configuration menu
    Copy the full SHA
    24332c2 View commit details
    Browse the repository at this point in the history