Fix service type logic

This commit is contained in:
Shane McDonald
2021-04-26 13:58:44 -04:00
parent 2fd737fbc2
commit c0e164d763

View File

@@ -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