diff --git a/hack/local-up-cluster.sh b/hack/local-up-cluster.sh index e9cbe0f0a5b..36a395e55fc 100755 --- a/hack/local-up-cluster.sh +++ b/hack/local-up-cluster.sh @@ -446,8 +446,8 @@ function start_apiserver { AUTH_ARGS="--token=system:admin/system:masters" fi else - # default to use basic authentication - AUTH_ARGS="--username=admin --password=admin" + # default to use certificate authentication + AUTH_ARGS="--client-key=${CERT_DIR}/client-admin.key --client-certificate=${CERT_DIR}/client-admin.crt" fi fi }