-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Done: * doc: describe deletion marker and how to undo delete markers * feat: bump vault version to 1.16.3 * feat(kubernetes): add S3_EXPIRE_DAYS Adds the variable S3_EXPIRE_DAYS for Kubernetes CronJobs. 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 useful 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. The date manipulation should work even in the busybox environments (e.g. OpenShift). It simply subtracts seconds.
- Loading branch information
Andreas Gruhler
authored
Sep 12, 2024
1 parent
6f30e15
commit 43416ce
Showing
4 changed files
with
53 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
FROM alpine | ||
|
||
ARG VAULT_VERSION=1.13.2 | ||
ARG VAULT_VERSION=1.16.3 | ||
|
||
COPY vault-snapshot.sh / | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters