mirror of
https://github.com/ansible/awx-operator.git
synced 2026-05-07 22:02:53 +00:00
Fix variable name for loadbalancerip in template.
The template now checks the existence of the correct variable so that it actually works.
This commit is contained in:
@@ -52,7 +52,7 @@ spec:
|
|||||||
type: NodePort
|
type: NodePort
|
||||||
{% elif service_type | lower == "loadbalancer" %}
|
{% elif service_type | lower == "loadbalancer" %}
|
||||||
type: LoadBalancer
|
type: LoadBalancer
|
||||||
{% if variable is defined and variable|length %}
|
{% if loadbalancer_ip is defined and loadbalancer_ip|length %}
|
||||||
loadbalancerip: '{{ loadbalancer_ip }}'
|
loadbalancerip: '{{ loadbalancer_ip }}'
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% else %}
|
{% else %}
|
||||||
|
|||||||
Reference in New Issue
Block a user