diff --git a/.gitlab/deployment_scripts/update_secret.sh b/.gitlab/deployment_scripts/update_secret.sh index 2424b9aec8939959e079c71ae790ff991c90a816..58b61ea0940d13bcce9dd54db4d7274642bae69a 100755 --- a/.gitlab/deployment_scripts/update_secret.sh +++ b/.gitlab/deployment_scripts/update_secret.sh @@ -5,7 +5,7 @@ set -e echo $HELM_RELEASE_NAME; HELM_RELEASE_NAME=${HELM_RELEASE_NAME:0:53} echo $HELM_RELEASE_NAME; -HELM_RELEASE_NAME=${HELM_RELEASE_NAME%%*(-)} +HELM_RELEASE_NAME=$(echo $HELM_RELEASE_NAME | sed 's/-$//') echo $HELM_RELEASE_NAME; # Create/Update the secret