chore: Update manifests after change

This commit is contained in:
2025-12-20 04:24:50 +00:00
parent a0bee4b64a
commit 0428a13d16
2 changed files with 57 additions and 9 deletions

View File

@@ -0,0 +1,18 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: vault-backup-script
namespace: vault
labels:
app.kubernetes.io/name: vault-backup-script
app.kubernetes.io/instance: vault
app.kubernetes.io/part-of: vault
data:
backup.sh: |
echo " ";
echo ">> Running S3 backup for Vault snapshot";
if s3cmd sync --no-check-certificate -v /opt/backup "${BUCKET}/cl01tl/cl01tl-vault-snapshots/"; then
echo ">> Sync succeeded"
else
echo ">> ERROR: Sync failed"
fi