From 63e5f19aa03c8eccaf2a626159e67aa6314e8321 Mon Sep 17 00:00:00 2001 From: Vitor Hideyoshi Date: Wed, 27 Sep 2023 22:51:06 -0300 Subject: [PATCH] Fixes NginxIngress --- deploy.sh | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/deploy.sh b/deploy.sh index 333929e..777da21 100755 --- a/deploy.sh +++ b/deploy.sh @@ -1,16 +1,5 @@ #!/bin/bash -function configure_helm() { - if [ ! -f /usr/local/bin/helm ]; then - curl -sfL curl -fsSL -o get_helm.sh https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3 | bash - - fi - - helm repo add ingress-nginx https://kubernetes.github.io/ingress-nginx - - helm repo update - - helm install nginx-ingress ingress-nginx/ingress-nginx --set controller.publishService.enabled=true -} function application_deploy() { @@ -84,7 +73,7 @@ function main() { else - configure_helm + kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/controller-v1.9.0/deploy/static/provider/baremetal/deploy.yaml kubectl apply -f https://github.com/cert-manager/cert-manager/releases/download/v1.13.0/cert-manager.yaml