mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-03 18:27:49 +00:00
Make libvirt-coreos cluster use create-kubeconfig
This commit is contained in:
committed by
Jeff Lowdermilk
parent
4f6dc99075
commit
08f17bfa70
@@ -46,7 +46,7 @@ function create-kubeconfig() {
|
||||
touch "${KUBECONFIG}"
|
||||
fi
|
||||
local cluster_args=(
|
||||
"--server=https://${KUBE_MASTER_IP}"
|
||||
"--server=${KUBE_SERVER:-https://${KUBE_MASTER_IP}}"
|
||||
)
|
||||
if [[ -z "${CA_CERT:-}" ]]; then
|
||||
cluster_args+=("--insecure-skip-tls-verify=true")
|
||||
|
Reference in New Issue
Block a user