Add tower_ingress_type NodePort

This commit is contained in:
stal
2021-04-14 20:15:15 +01:00
parent 0f90847c07
commit 1b87616a11
2 changed files with 19 additions and 10 deletions

View File

@@ -44,8 +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" %}
{% elif tower_ingress_type | lower == "nodeport" %}
type: NodePort
{% endif %}
{% elif %}
type: ClusterIP
{% endif %}