mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 19:56:01 +00:00
Merge pull request #100764 from benhxy/tls
Use GKE specific configuration for kube-apiserver SNI cert
This commit is contained in:
commit
7ecd93ea1e
@ -95,6 +95,9 @@ function start-kube-apiserver {
|
||||
if [[ -n "${TLS_CIPHER_SUITES:-}" ]]; then
|
||||
params+=" --tls-cipher-suites=${TLS_CIPHER_SUITES}"
|
||||
fi
|
||||
if [[ -e "${KUBE_HOME}/bin/gke-internal-configure-helper.sh" ]]; then
|
||||
params+=" $(gke-kube-apiserver-internal-sni-param)"
|
||||
fi
|
||||
params+=" --kubelet-preferred-address-types=InternalIP,ExternalIP,Hostname"
|
||||
if [[ -s "${REQUESTHEADER_CA_CERT_PATH:-}" ]]; then
|
||||
params+=" --requestheader-client-ca-file=${REQUESTHEADER_CA_CERT_PATH}"
|
||||
|
Loading…
Reference in New Issue
Block a user