diff --git a/clusters/cl01tl/helm/talos/templates/config.yaml b/clusters/cl01tl/helm/talos/templates/config.yaml index 7491f511b..25cae3d44 100644 --- a/clusters/cl01tl/helm/talos/templates/config.yaml +++ b/clusters/cl01tl/helm/talos/templates/config.yaml @@ -11,6 +11,7 @@ data: prune.sh: | DATE_RANGE=$(date -d @$(( $(date +%s) - $DATE_RANGE_SECONDS )) +%Y-%m-%dT%H:%M:%SZ); FILE_MATCH="${BUCKET}/cl01tl/etcd/cl01tl-${DATE_RANGE}.snap.age"; + ERROR=false echo " " echo ">> Running S3 prune for Talos backup repository ${TARGET} ..."; diff --git a/clusters/cl01tl/helm/talos/values.yaml b/clusters/cl01tl/helm/talos/values.yaml index 7c8f33ad5..697aeee7d 100644 --- a/clusters/cl01tl/helm/talos/values.yaml +++ b/clusters/cl01tl/helm/talos/values.yaml @@ -65,7 +65,7 @@ etcd-backup: name: talos-etcd-backup-local-secret key: AGE_X25519_PUBLIC_KEY - name: USE_PATH_STYLE - value: "true" + value: "false" s3-prune: image: repository: d3fk/s3cmd @@ -151,7 +151,7 @@ etcd-backup: name: talos-etcd-backup-remote-secret key: AGE_X25519_PUBLIC_KEY - name: USE_PATH_STYLE - value: "true" + value: "false" s3-prune: image: repository: d3fk/s3cmd