Skip to content

Commit 40a6f80

Browse files
authored
Merge pull request #9327 from smarterclayton/remove_start
Switch to openshift-node-config in prep for removing openshift start node
2 parents db2ca31 + 9b397a3 commit 40a6f80

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

roles/openshift_node_group/files/sync.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ spec:
117117
echo "info: Configuration changed, restarting kubelet" 2>&1
118118
# TODO: kubelet doesn't relabel nodes, best effort for now
119119
# https://github.com/kubernetes/kubernetes/issues/59314
120-
if args="$(openshift start node --write-flags --config /etc/origin/node/node-config.yaml)"; then
120+
if args="$(openshift-node-config --config /etc/origin/node/node-config.yaml)"; then
121121
labels=$(tr ' ' '\n' <<<$args | sed -ne '/^--node-labels=/ { s/^--node-labels=//; p; }' | tr ',\n' ' ')
122122
if [[ -n "${labels}" ]]; then
123123
echo "info: Applying node labels $labels" 2>&1

0 commit comments

Comments
 (0)