:orphan: .. _nginxingress_install: Install nginx ingress controller (deprecated) --------------------------------------------- .. code-block:: helm repo add metallb https://metallb.github.io/metallb helm install metallb metallb/metallb --values $HELMCHART_LOCATION/aizen/charts/infra/charts/ingress-controller/metallb_values.yaml kubectl apply -f $HELMCHART_LOCATION/aizen/charts/infra/charts/ingress-controller/nginx_metal_deploy.yaml Edit $HELMCHART_LOCATION/aizen/charts/infra/charts/ingress-controller/metallb_ip.yaml and assign ip range, we need two address** .. code-block:: kubectl apply -f $HELMCHART_LOCATION/aizen/charts/infra/charts/ingress-controller/metallb_ip.yaml * Enable secure(https) routes for nginx ingress controller - Execute script $HELMCHART_LOCATION/aizen/charts/infra/charts/ingress-controller/certgen - Apply the generated kubernetes secret yaml file .. code-block:: kubectl -n ingress-nginx apply -f $HOME/cert/nginx-ingress-tls-secret.yaml Edit $HELMCHART_LOCATION/aizen/charts/infra/charts/ingress-controller/nginx_metal_deploy.yaml file and add the 2 additional args (spec-->containers-->args) and apply the changes .. code-block:: - --enable-ssl-passthrough - --default-ssl-certificate=ingress-nginx/nginx-ingress-tls .. code-block:: kubectl -n ingress-nginx apply -f $HELMCHART_LOCATION/aizen/charts/infra/charts/ingress-controller/nginx_metal_deploy.yaml