diff --git a/scripts/tls/kube-conf b/scripts/tls/kube-conf index 1b8433a8..2376d899 100755 --- a/scripts/tls/kube-conf +++ b/scripts/tls/kube-conf @@ -6,7 +6,7 @@ function usage { } function base64_encode { - if [[ "$OSTYPE" == "darwin" ]]; then + if [[ "$OSTYPE" == darwin* ]]; then base64 $1 else base64 -w 0 $1