Ver Fonte

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

Avesh Agarwal há 6 anos atrás
pai
commit
0d18aa61e3
1 ficheiros alterados com 1 adições e 1 exclusões
  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}"