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

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'"