Skip to content

Commit f7fc709

Browse files
authored
Add worker-cnf label (#327)
1 parent 4e13fbf commit f7fc709

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

scripts/fix-node-labels.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,5 @@ source "$SCRIPT_DIR"/init-env.sh
88
if $TNF_NON_OCP_CLUSTER; then
99
echo "non ocp cluster detected, applying worker labels on all nodes"
1010
oc get nodes -oname | xargs -I{} oc label {} node-role.kubernetes.io/worker=worker --overwrite
11+
oc get nodes -oname | xargs -I{} oc label {} node-role.kubernetes.io/worker-cnf= --overwrite
1112
fi

0 commit comments

Comments
 (0)