mirror of
https://github.com/ansible/awx-operator.git
synced 2026-03-26 21:33:14 +00:00
tower_web.yaml: Don't apply ingress if host var is blank
This commit is contained in:
@@ -98,6 +98,7 @@ spec:
|
||||
app: tower
|
||||
|
||||
# Tower Ingress.
|
||||
{% if tower_hostname != '' %}
|
||||
---
|
||||
apiVersion: extensions/v1beta1
|
||||
kind: Ingress
|
||||
@@ -113,3 +114,4 @@ spec:
|
||||
backend:
|
||||
serviceName: '{{ meta.name }}-service'
|
||||
servicePort: 80
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user