mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-24 20:24:09 +00:00
Fix startup of discovery server
This commit is contained in:
parent
8fefc4ff38
commit
cdc2d4c09c
@ -528,7 +528,7 @@ function start_discovery {
|
|||||||
DISCOVERY_SERVER_LOG=/tmp/kubernetes-discovery.log
|
DISCOVERY_SERVER_LOG=/tmp/kubernetes-discovery.log
|
||||||
${CONTROLPLANE_SUDO} "${GO_OUT}/kubernetes-discovery" \
|
${CONTROLPLANE_SUDO} "${GO_OUT}/kubernetes-discovery" \
|
||||||
--cert-dir="${CERT_DIR}" \
|
--cert-dir="${CERT_DIR}" \
|
||||||
--client-ca-file="${CERT_DIR}/client-ca-bundle.crt" \
|
--client-ca-file="${CERT_DIR}/client-ca.crt" \
|
||||||
--authentication-kubeconfig="${CERT_DIR}/discovery-auth.kubeconfig" \
|
--authentication-kubeconfig="${CERT_DIR}/discovery-auth.kubeconfig" \
|
||||||
--authorization-kubeconfig="${CERT_DIR}/discovery-auth.kubeconfig" \
|
--authorization-kubeconfig="${CERT_DIR}/discovery-auth.kubeconfig" \
|
||||||
--requestheader-username-headers=X-Remote-User \
|
--requestheader-username-headers=X-Remote-User \
|
||||||
|
Loading…
Reference in New Issue
Block a user