Adding checks for installation prerequisites
[kuberef.git] / deploy.sh
index ff5797e..78e2978 100755 (executable)
--- a/deploy.sh
+++ b/deploy.sh
@@ -20,9 +20,16 @@ DIRECTORY=$(readlink -f "$0")
 CURRENTPATH=$(dirname "$DIRECTORY")
 
 # Source env variables & functions
+# shellcheck source=./deploy.env
 source "$CURRENTPATH/deploy.env"
+# shellcheck source=./functions.sh
 source "$CURRENTPATH/functions.sh"
 
+# ---------------------------------------------------------------------
+# check installation and runtime prerequisites
+# ---------------------------------------------------------------------
+check_prerequisites
+
 # Clean up leftovers
 clean_up