Commit 99969c1c authored by Rémy Coutable's avatar Rémy Coutable Committed by Albert Salim

ra: Pass the '--overwrite' flag to the 'kubectl label' command

Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent 4f058f87
......@@ -166,8 +166,9 @@ function label_namespace() {
local label="${2}"
echoinfo "Labeling the ${namespace} namespace with ${label}" true
echoinfo "We should pass the --overwrite option!"
kubectl label namespace "${namespace}" "${label}"
kubectl label --overwrite namespace "${namespace}" "${label}"
}
function create_application_secret() {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment