blob: b6864264cca97aa165465635c93fe264e2d2179c [file] [log] [blame]
{%- from "glance/map.jinja" import server with context %}
{%- if server.get('enabled', False) %}
agent:
input:
http_response:
glance-api:
address: "http://{{ server.bind.address|replace('0.0.0.0', '127.0.0.1') }}:{{ server.bind.port }}/"
expected_code: 300
glance-registry:
address: "http://{{ server.bind.address|replace('0.0.0.0', '127.0.0.1') }}:{{ server.registry.port }}/"
expected_code: 300
{%- endif %}