Skip to content

Commit e38ed2f

Browse files
committed
make the plural form the default
1 parent d7176ab commit e38ed2f

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

edge/roles/edge_install/templates/AgentClusterInstall.yaml.j2

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,19 +40,19 @@ spec:
4040
ingressVIP: "{{ relocatable_ipv6_subnet | ansible.utils.nthhost(3) }}"
4141
{% endif %}
4242
{% else %}
43-
{% if platform.baremetal.apiVIP is defined %}
44-
apiVIP: "{{ platform.baremetal.apiVIP }}"
45-
{% else %}
43+
{% if platform.baremetal.apiVIPs is defined %}
4644
apiVIP: "{{ platform.baremetal.apiVIPs[0] }}"
4745
apiVIPs:
4846
{{ platform.baremetal.apiVIPs | to_nice_yaml(indent=2) | trim | indent(4) }}
49-
{% endif %}
50-
{% if platform.baremetal.ingressVIP is defined %}
51-
ingressVIP: "{{ platform.baremetal.ingressVIP }}"
5247
{% else %}
48+
apiVIP: "{{ platform.baremetal.apiVIP }}"
49+
{% endif %}
50+
{% if platform.baremetal.ingressVIPs is defined %}
5351
ingressVIP: "{{ platform.baremetal.ingressVIPs[0] }}"
5452
ingressVIPs:
5553
{{ platform.baremetal.ingressVIPs | to_nice_yaml(indent=2) | trim | indent(4) }}
54+
{% else %}
55+
ingressVIP: "{{ platform.baremetal.ingressVIP }}"
5656
{% endif %}
5757
{% endif %}
5858
{% endif %}

0 commit comments

Comments
 (0)