diff --git a/roles/installer/templates/tower_service.yaml.j2 b/roles/installer/templates/tower_service.yaml.j2 index 321a5909..387a479d 100644 --- a/roles/installer/templates/tower_service.yaml.j2 +++ b/roles/installer/templates/tower_service.yaml.j2 @@ -44,6 +44,8 @@ spec: app.kubernetes.io/component: awx {% if tower_ingress_type | lower == "loadbalancer" %} type: LoadBalancer +{% elif tower_ingress_type | lower == "ingress" %} + type: ClusterIP {% elif tower_ingress_type != "none" %} type: NodePort {% endif %}