Sfoglia il codice sorgente

Fix to pass quoted unsafe strings (with characters like *,<,%) correctly to kubelet

Avesh Agarwal 6 anni fa
parent
commit
0d18aa61e3
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      roles/openshift_node/files/openshift-node

+ 1 - 1
roles/openshift_node/files/openshift-node

@@ -15,4 +15,4 @@ if [[ -f /etc/origin/node/node-config.yaml ]]; then
   config=/etc/origin/node/node-config.yaml
 fi
 flags=$( /usr/bin/openshift-node-config "--config=${config}" )
-exec /usr/bin/hyperkube kubelet --v=${DEBUG_LOGLEVEL:-2} ${flags}
+eval "exec /usr/bin/hyperkube kubelet --v=${DEBUG_LOGLEVEL:-2} ${flags}"