From c0e164d76338bca35bc496ea01c70f2e866522a9 Mon Sep 17 00:00:00 2001 From: Shane McDonald Date: Mon, 26 Apr 2021 13:58:44 -0400 Subject: [PATCH] Fix service type logic --- roles/installer/templates/tower_service.yaml.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/installer/templates/tower_service.yaml.j2 b/roles/installer/templates/tower_service.yaml.j2 index 3b41e229..c08c3454 100644 --- a/roles/installer/templates/tower_service.yaml.j2 +++ b/roles/installer/templates/tower_service.yaml.j2 @@ -44,7 +44,7 @@ spec: app.kubernetes.io/component: awx {% if tower_ingress_type | lower == "loadbalancer" %} type: LoadBalancer -{% elif tower_ingress_type | lower == "nodeport" %} +{% elif tower_ingress_type != "none" %} type: NodePort {% else %} type: ClusterIP