2 Commits

Author SHA1 Message Date
a91e776aee Update ghcr.io/moghtech/komodo-core Docker tag to v1.18.4
All checks were successful
lint-test-helm / helm-lint (pull_request) Successful in 10s
2025-07-10 00:30:22 +00:00
b03e742fb8 remove prine
All checks were successful
lint-test-helm / helm-lint (push) Successful in 7s
renovate / renovate (push) Successful in 1m20s
2025-07-09 19:29:17 -05:00

View File

@@ -219,39 +219,6 @@ snapshot:
requests:
cpu: 100m
memory: 128Mi
s3-prune:
image:
repository: d3fk/s3cmd
tag: latest@sha256:dacbd4baa0c66df934e96a9325b9e34563c2ab8e4dd0fe9fd1bd9793d53fb606
pullPolicy: IfNotPresent
command:
- /bin/sh
args:
- -ec
- |
export MONTH_AGO=$(date -d @$(( $(date +%s) - 2592000 )) +%Y-%m-%d\ %H:%M:%S);
export TIME_RANGE="$MONTH_AGO"
echo ">> Running S3 prune for Vault snapshot repository"
echo ">> Backups prior to '$TIME_RANGE' will be removed"
echo ">> File list:"
s3cmd ls -v ${BUCKET}/cl01tl/cl01tl-vault-snapshots/
echo ">> Deleting ..."
s3cmd ls -v ${BUCKET}/cl01tl/cl01tl-vault-snapshots/ |
awk -v month_ago="$MONTH_AGO" '$1 < month_ago {print $4}' |
while read file;
do s3cmd del -v "$file";
done;
echo ">> Completed S3 prune for Vault snapshot repository"
env:
- name: BUCKET
valueFrom:
secretKeyRef:
name: vault-s3cmd-config
key: BUCKET
resources:
requests:
cpu: 100m
memory: 128Mi
persistence:
config:
existingClaim: vault-nfs-storage-backup
@@ -274,11 +241,6 @@ snapshot:
readOnly: true
mountPropagation: None
subPath: .s3cfg
s3-prune:
- path: /root/.s3cfg
readOnly: true
mountPropagation: None
subPath: .s3cfg
unseal:
global:
fullnameOverride: vault-unseal