fix: broken bucket versioning support in community helm chart (#18003)

This commit is contained in:
mundry 2023-09-22 20:32:24 +02:00 committed by GitHub
parent 3a90fb108c
commit 5fcb1cfd31
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -85,7 +85,7 @@ if ! checkBucketExists $BUCKET ; then
# set versioning for bucket if objectlocking is disabled or not set
if [ -z $OBJECTLOCKING ] ; then
if [ $OBJECTLOCKING = false ] ; then
if [ ! -z $VERSIONING ] ; then
if [ $VERSIONING = true ] ; then
echo "Enabling versioning for '$BUCKET'"