upgrade helm to v5.0.8

Signed-off-by: Harshavardhana <harsha@minio.io>
This commit is contained in:
Harshavardhana
2023-04-13 14:39:53 -07:00
parent 958a480e53
commit cf42ede92c
5 changed files with 107 additions and 83 deletions

View File

@@ -73,7 +73,9 @@ createUser() {
# set policy for user
if [ ! -z $POLICY -a $POLICY != " " ] ; then
echo "Adding policy '$POLICY' for '$USER'"
set +e ; # policy already attach errors out, allow it.
${MC} admin policy attach myminio $POLICY --user=$USER
set -e
else
echo "User '$USER' has no policy attached."
fi