diff --git a/client-templates/container-registry-agent/accept.json.sample b/client-templates/container-registry-agent/accept.json.sample index bd49ad07c..6fe995f81 100644 --- a/client-templates/container-registry-agent/accept.json.sample +++ b/client-templates/container-registry-agent/accept.json.sample @@ -77,6 +77,12 @@ "method": "POST", "path": "/scan", "origin": "${CR_AGENT_URL}" + }, + { + "//": "returns image-metadata for given repository and image reference", + "method": "GET", + "path": "/image-metadata/*", + "origin": "${CR_AGENT_URL}" } ] } diff --git a/defaultFilters/container-registry-agent.json b/defaultFilters/container-registry-agent.json index 7896f812d..392cff889 100644 --- a/defaultFilters/container-registry-agent.json +++ b/defaultFilters/container-registry-agent.json @@ -77,6 +77,12 @@ "method": "POST", "path": "/scan", "origin": "${CR_AGENT_URL}" + }, + { + "//": "returns image-metadata for given repository and image reference", + "method": "GET", + "path": "/image-metadata/*", + "origin": "${CR_AGENT_URL}" } ] - } \ No newline at end of file + }