Add finalizers

This commit is contained in:
Nikolai Rodionov 2024-04-02 18:43:01 +02:00
parent 28ff0d777f
commit 93a00ae898
Signed by: allanger
GPG Key ID: 0AA46A90E25592AD

View File

@ -30,6 +30,6 @@ else
export SP_ENVIRONMENT=$(jq -r .[0].objects.[0].object.metadata.name $BINDING_CONTEXT_PATH)
envsubst < /tpls/${PROVIDER}-${KUBERNETES}.yaml | kubectl create -f -
kubectl patch configmap -n ${SP_CUSTOMER_ID} ${SP_ENVIRONMENT} \
-p '{"metadata":{"finalizers":"softplayer.net/bootstrapped"}}' --type=merge
-p '{"metadata":{"finalizers":["softplayer.net/bootstrapped"]}}' --type=merge
fi