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

Remove expired snapshots #29

Merged
merged 10 commits into from
Sep 12, 2024
Merged

Remove expired snapshots #29

merged 10 commits into from
Sep 12, 2024

Commits on Sep 7, 2024

  1. feat: bump vault version to 1.16.3

    Bump vault version to 1.16.3, the latest community release:
    https://github.com/hashicorp/vault/blob/main/CHANGELOG.md#1163
    in0rdr committed Sep 7, 2024
    Configuration menu
    Copy the full SHA
    7c2a348 View commit details
    Browse the repository at this point in the history
  2. feat(kubernetes): add S3_EXPIRE_DAYS

    This adds the variable S3_EXPIRE_DAYS.
    
    The idea of this feature is to allow the script to prune expired
    snapshot files on the S3 compatible remote storage. Files are considered
    expired once they exceed the threshold defined by S3_EXPIRE_DAYS.
    
    This feature is usefull for S3 compatible storage where there exist no
    lifecycle rules to clean up the storage of expired or old files, such
    as:
    * cloudscale object storage
    * Exoscale simple object storage (SOS)
    
    It is recommended to also configure a "Governance" lock on the files, to
    ensure no files are deleted by accident before the defined
    S3_EXPIRE_DAYS threshold.
    in0rdr committed Sep 7, 2024
    Configuration menu
    Copy the full SHA
    83514f9 View commit details
    Browse the repository at this point in the history

Commits on Sep 9, 2024

  1. doc: describe deletion marker

    in0rdr committed Sep 9, 2024
    Configuration menu
    Copy the full SHA
    570d884 View commit details
    Browse the repository at this point in the history
  2. doc: describe undo

    in0rdr committed Sep 9, 2024
    Configuration menu
    Copy the full SHA
    e340c4a View commit details
    Browse the repository at this point in the history
  3. fix: shellcheck

    in0rdr committed Sep 9, 2024
    Configuration menu
    Copy the full SHA
    44d1ca4 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    56214a5 View commit details
    Browse the repository at this point in the history

Commits on Sep 12, 2024

  1. fix: busybox compatible date manipulation

    The date manipulation did not work in my tests with busybox on
    OpenShift.
    
    This should work even in the busybox environments. It simply subtracts
    seconds.
    in0rdr committed Sep 12, 2024
    Configuration menu
    Copy the full SHA
    1e3ad45 View commit details
    Browse the repository at this point in the history
  2. fix: shellcheck

    in0rdr committed Sep 12, 2024
    Configuration menu
    Copy the full SHA
    9823e9c View commit details
    Browse the repository at this point in the history
  3. fix: shell syntax and filename

    in0rdr committed Sep 12, 2024
    Configuration menu
    Copy the full SHA
    6336461 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b271d0d View commit details
    Browse the repository at this point in the history