diff --git a/bin/freeleaps-cluster-authenticator b/bin/freeleaps-cluster-authenticator index e9d9bc08..c19edde9 100755 --- a/bin/freeleaps-cluster-authenticator +++ b/bin/freeleaps-cluster-authenticator @@ -2,6 +2,8 @@ set -eu +VERSION="0.0.1-20250105" + CLUSTER_API_LB_IP=${CLUSTER_API_LB_IP:-4.155.160.32} CLUSTER_API_LB_PORT=${CLUSTER_API_LB_PORT:-6443} MICROSOFT_ENTRA_ID_TENANT=${MICROSOFT_ENTRA_ID_TENANT:-cf151ee8-5c2c-4fe7-a1c4-809ba43c9f24} @@ -18,7 +20,7 @@ AUTO_INSTALL_KUBECTL=${AUTO_INSTALL_KUBECTL:-true} AUTO_INSTALL_KUBELOGIN=${AUTO_INSTALL_KUBELOGIN:-true} help() { - echo "Freeleaps Cluster Authenticator" + echo "Freeleaps Cluster Authenticator (Version: ${VERSION})" echo "" echo "Usage: freeleaps-cluster-authenticator " echo "" @@ -300,8 +302,7 @@ reset_auth() { main() { if [ $# -lt 1 ]; then echo "[ERROR] No sub-command provided." - echo "" - help + echo "[TIP] Run 'freeleaps-cluster-authenticator -h' to see available sub-commands." exit 1 fi