Merge "Check for InternalApi in role for HostnameResolveNetwork"
This commit is contained in:
commit
a52e42bb30
@ -96,7 +96,11 @@ parameters:
|
||||
{{role.name}}HostnameResolveNetwork: {{ _service_nets.get('storage', 'ctlplane') }}
|
||||
{%- endfor %}
|
||||
{%- for role in roles if not role.name.startswith('Ceph') %}
|
||||
{%- if 'InternalApi' in role.networks %}
|
||||
{{role.name}}HostnameResolveNetwork: {{ _service_nets.get('internal_api', 'ctlplane') }}
|
||||
{%- else %}
|
||||
{{role.name}}HostnameResolveNetwork: ctlplane
|
||||
{%- endif %}
|
||||
{%- endfor %}
|
||||
# special-case for MetricsQdrNetwork, which will vary depending on role
|
||||
{%- for role in roles if role.name == 'CephStorage' or role.name == 'BlockStorage' or role.name == 'ObjectStorage' %}
|
||||
|
Loading…
Reference in New Issue
Block a user