From 8876ff89015bcd698ac1b0f81b561674bc8ae4ea Mon Sep 17 00:00:00 2001 From: Jan Safranek Date: Thu, 3 Nov 2016 10:25:52 +0100 Subject: [PATCH] Fix typo in local-up-cluster Use curly braces instead of round ones for bash variable expansion. The script complains about unknown ROOT_CA_FILE when running with KUBE_ENABLE_CLUSTER_DNS=true. --- hack/local-up-cluster.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hack/local-up-cluster.sh b/hack/local-up-cluster.sh index 10c370ba5d7..b4f87d82132 100755 --- a/hack/local-up-cluster.sh +++ b/hack/local-up-cluster.sh @@ -552,7 +552,7 @@ kind: Namespace metadata: name: kube-system EOF - ${KUBECTL} config set-cluster local --server=https://${API_HOST}:${API_SECURE_PORT} --certificate-authority=$(ROOT_CA_FILE) + ${KUBECTL} config set-cluster local --server=https://${API_HOST}:${API_SECURE_PORT} --certificate-authority=${ROOT_CA_FILE} ${KUBECTL} config set-context local --cluster=local ${KUBECTL} config use-context local