mirror of
https://github.com/helmfile/helmfile.git
synced 2026-09-30 10:31:24 +02:00
Resolves #1768 by using the correct status fields Signed-off-by: Niklas Ott <n.ott@syseleven.de>
This commit is contained in:
@@ -5,10 +5,10 @@
|
||||
if ! hash minikube 2>/dev/null; then
|
||||
fail "Minikube needs to be installed."
|
||||
fi
|
||||
if [ ! $(minikube status --format '{{.MinikubeStatus}}') == "Running" ]; then
|
||||
if [ ! "$(minikube status --format '{{.Host}}')" == "Running" ]; then
|
||||
fail "Minikube is not running."
|
||||
fi
|
||||
if [ ! $(minikube status --format '{{.ClusterStatus}}') == "Running" ]; then
|
||||
if [ ! "$(minikube status --format '{{.APIServer}}')" == "Running" ]; then
|
||||
fail "Minikube Cluster is not running."
|
||||
fi
|
||||
if ! kubectl version 1> /dev/null; then
|
||||
|
||||
Reference in New Issue
Block a user