-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for POST /service/token in readonly mode #18243
Comments
This issue is being marked stale due to a period of inactivity. If this issue is still relevant, please comment or remove the stale label. Otherwise, this issue will close in 30 days. |
This issue was closed because it has been stalled for 30 days with no activity. If this issue is still relevant, please re-open a new issue. |
This issue could be reproduced by deploy the image pulling from a read-only instance with secret, the output is
|
fixes goharbor#18243 Signed-off-by: stonezdj <[email protected]>
fixes goharbor#18243 Signed-off-by: stonezdj <[email protected]>
fixes goharbor#18243 Signed-off-by: stonezdj <[email protected]>
fixes goharbor#18243 Signed-off-by: stonezdj <[email protected]>
fixes #18243 Signed-off-by: stonezdj <[email protected]>
fixes goharbor#18243 Signed-off-by: stonezdj <[email protected]>
fixes goharbor#18243 Signed-off-by: stonezdj <[email protected]>
…mode (#19563) Allow POST method to request service/token in readonly mode fixes #18243 Signed-off-by: stonezdj <[email protected]>
…mode (#19562) Allow POST method to request service/token in readonly mode fixes #18243 Signed-off-by: stonezdj <[email protected]>
Usually, docker client sent
GET
request to /service/token. it seems that some other tools such as finch usePOST
When Harbor is in readonly mode, the middleware will ban the POST/PUT method except readonlySkippers but it seems that the /service/token is not in the list, actually the POST method to /service/token is supported.
The text was updated successfully, but these errors were encountered: