You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the response code should be "503 | Harbor is not deployed with Clair." because Clair service is not deployed.
by harborctl
[#382#root@ubuntu-1604 /go/src/github.com/moooofly/harborctl]$./harborctl repository tag scan -h
Trigger jobservice to call Clair API to scan the image identified by the repo_name and tag.
NOTE: Only project admins have permission to scan images under the project.
Usage:
harborctl repository tag scan [flags]
Flags:
-h, --help help for scan
-r, --repo_name string (REQUIRED) The name of repository.
-t, --tag string (REQUIRED) The name of tag.
Global Flags:
--config string config file (default is $HOME/, working dir (.), and ./conf dir)
[#383#root@ubuntu-1604 /go/src/github.com/moooofly/harborctl]$./harborctl repository tag scan -r temp_9/hello-world -t v1
==> POST https://localhost/api/repositories/temp_9/hello-world/tags/v1/scan
<==
<== Rsp Status: 415 Unsupported Media Type
<== Rsp Body:
[#384#root@ubuntu-1604 /go/src/github.com/moooofly/harborctl]$
The text was updated successfully, but these errors were encountered:
by swagger UI
the response code should be "503 | Harbor is not deployed with Clair." because Clair service is not deployed.
by
harborctl
The text was updated successfully, but these errors were encountered: