diff --git a/roles/mesh_ingress/templates/ingress.yml.j2 b/roles/mesh_ingress/templates/ingress.yml.j2 index 6cc10e1f9..89ad03786 100644 --- a/roles/mesh_ingress/templates/ingress.yml.j2 +++ b/roles/mesh_ingress/templates/ingress.yml.j2 @@ -70,6 +70,9 @@ metadata: name: {{ ansible_operator_meta.name }} namespace: {{ ansible_operator_meta.namespace }} spec: +{% if external_hostname %} + host: {{ external_hostname }} +{% endif %} port: targetPort: ws tls: