+#installs nginx
+function install_helm_nginx() {
+ [ -z "${DEBUG_INSTALL}" ] || DEBUG beginning of function
+ echo "Installing nginx"
+ NGINX_VERSION="4.10.0"
+ ANNOTATIONS='--set controller.service.annotations."service\.beta\.kubernetes\.io/azure-load-balancer-health-probe-request-path"=/healthz'
+ ANNOTATIONS=${ANNOTATIONS:-""}
+ helm upgrade --install ingress-nginx ingress-nginx \
+ --repo https://kubernetes.github.io/ingress-nginx --version ${NGINX_VERSION} \
+ --namespace ingress-nginx --create-namespace ${ANNOTATIONS}
+ # Wait until ready
+ kubectl wait --namespace ingress-nginx \
+ --for=condition=ready pod \
+ --selector=app.kubernetes.io/component=controller \
+ --timeout=120s
+ [ -z "${DEBUG_INSTALL}" ] || DEBUG end of function
+}
+
+#checks openebs, metallb and cert-manager readiness