diff --git a/network/service_net_map.j2.yaml b/network/service_net_map.j2.yaml index 6b8e79d929..2ed5c5c574 100644 --- a/network/service_net_map.j2.yaml +++ b/network/service_net_map.j2.yaml @@ -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' %}