Fix "external_hostname" should not be required while using Route ingress (#1807)

Fix "external_hostname" required on OCP
This commit is contained in:
Hao Liu
2024-04-03 12:16:16 -04:00
committed by GitHub
parent 7bf49c207a
commit fcbf394272

View File

@@ -70,7 +70,7 @@ metadata:
name: {{ ansible_operator_meta.name }}
namespace: {{ ansible_operator_meta.namespace }}
spec:
{% if external_hostname %}
{% if external_hostname is defined %}
host: {{ external_hostname }}
{% endif %}
port: