From b03e742fb8b65a58d92fed843f65af3a97271333 Mon Sep 17 00:00:00 2001 From: Alex Lebens Date: Wed, 9 Jul 2025 19:29:17 -0500 Subject: [PATCH] remove prine --- clusters/cl01tl/platform/vault/values.yaml | 38 ---------------------- 1 file changed, 38 deletions(-) diff --git a/clusters/cl01tl/platform/vault/values.yaml b/clusters/cl01tl/platform/vault/values.yaml index d5652c9fe..a617d30df 100644 --- a/clusters/cl01tl/platform/vault/values.yaml +++ b/clusters/cl01tl/platform/vault/values.yaml @@ -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