diff --git a/hack/local-up-cluster.sh b/hack/local-up-cluster.sh index 420e1e65fcc..4a07e71106d 100755 --- a/hack/local-up-cluster.sh +++ b/hack/local-up-cluster.sh @@ -563,7 +563,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