Automated Manifest Update (#2745)
This PR contains newly rendered Kubernetes manifests automatically generated by the CI workflow. Reviewed-on: #2745 Co-authored-by: gitea-bot <gitea-bot@alexlebens.net> Co-committed-by: gitea-bot <gitea-bot@alexlebens.net>
This commit was merged in pull request #2745.
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user