mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-26 05:03:09 +00:00
Update util.sh
Modify cluster/{vsphere,rackspace,azure,ubuntu}/util.sh, replace "~/.kubernetes_auth" with "${KUBECONFIG:-$DEFAULT_KUBECONFIG}"
This commit is contained in:
parent
7a87438e67
commit
b6d7a1737b
@ -493,7 +493,7 @@ function kube-down {
|
|||||||
# echo
|
# echo
|
||||||
# echo " https://${KUBE_MASTER_IP}"
|
# echo " https://${KUBE_MASTER_IP}"
|
||||||
# echo
|
# echo
|
||||||
# echo "The user name and password to use is located in ~/.kubernetes_auth."
|
# echo "The user name and password to use is located in ${KUBECONFIG:-$DEFAULT_KUBECONFIG}."
|
||||||
# echo
|
# echo
|
||||||
|
|
||||||
#}
|
#}
|
||||||
|
@ -371,7 +371,7 @@ kube-up() {
|
|||||||
echo
|
echo
|
||||||
echo " https://${KUBE_MASTER_IP}"
|
echo " https://${KUBE_MASTER_IP}"
|
||||||
echo
|
echo
|
||||||
echo "The user name and password to use is located in ~/.kubernetes_auth."
|
echo "The user name and password to use is located in ${KUBECONFIG:-$DEFAULT_KUBECONFIG}."
|
||||||
echo
|
echo
|
||||||
echo "Security note: The server above uses a self signed certificate. This is"
|
echo "Security note: The server above uses a self signed certificate. This is"
|
||||||
echo " subject to \"Man in the middle\" type attacks."
|
echo " subject to \"Man in the middle\" type attacks."
|
||||||
|
@ -261,7 +261,7 @@ EOF
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Ensure that we have a password created for validating to the master. Will
|
# Ensure that we have a password created for validating to the master. Will
|
||||||
# read from $HOME/.kubernetes_auth if available.
|
# read from ${KUBECONFIG:-$DEFAULT_KUBECONFIG} if available.
|
||||||
#
|
#
|
||||||
# Vars set:
|
# Vars set:
|
||||||
# KUBE_USER
|
# KUBE_USER
|
||||||
|
@ -441,7 +441,7 @@ function kube-push {
|
|||||||
echo
|
echo
|
||||||
echo " https://${KUBE_MASTER_IP}"
|
echo " https://${KUBE_MASTER_IP}"
|
||||||
echo
|
echo
|
||||||
echo "The user name and password to use is located in ~/.kubernetes_auth."
|
echo "The user name and password to use is located in ${KUBECONFIG:-$DEFAULT_KUBECONFIG}."
|
||||||
echo
|
echo
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user