Skip to content

Commit

Permalink
feat: add DRA endpoint - get image metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielTal87 committed Nov 11, 2024
1 parent f245ff9 commit 049bac7
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
6 changes: 6 additions & 0 deletions client-templates/container-registry-agent/accept.json.sample
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
}
]
}
8 changes: 7 additions & 1 deletion defaultFilters/container-registry-agent.json
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
}
]
}
}

0 comments on commit 049bac7

Please sign in to comment.