Pārlūkot izejas kodu

Merge pull request #9327 from smarterclayton/remove_start

Switch to openshift-node-config in prep for removing openshift start node
Vadim Rutkovsky 6 gadi atpakaļ
vecāks
revīzija
40a6f80835
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      roles/openshift_node_group/files/sync.yaml

+ 1 - 1
roles/openshift_node_group/files/sync.yaml

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