mirror of
https://github.com/pgsty/minio.git
synced 2026-07-19 20:20:25 +03:00
fix: broken bucket versioning support in community helm chart (#18003)
This commit is contained in:
@@ -85,7 +85,7 @@ if ! checkBucketExists $BUCKET ; then
|
|||||||
|
|
||||||
|
|
||||||
# set versioning for bucket if objectlocking is disabled or not set
|
# set versioning for bucket if objectlocking is disabled or not set
|
||||||
if [ -z $OBJECTLOCKING ] ; then
|
if [ $OBJECTLOCKING = false ] ; then
|
||||||
if [ ! -z $VERSIONING ] ; then
|
if [ ! -z $VERSIONING ] ; then
|
||||||
if [ $VERSIONING = true ] ; then
|
if [ $VERSIONING = true ] ; then
|
||||||
echo "Enabling versioning for '$BUCKET'"
|
echo "Enabling versioning for '$BUCKET'"
|
||||||
|
|||||||
Reference in New Issue
Block a user