use ClusterIP service when ingress type is Ingress

This commit is contained in:
stal
2021-04-12 19:35:29 +01:00
parent 9503d3cf48
commit e091b32c4b

View File

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