-
-
Notifications
You must be signed in to change notification settings - Fork 165
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
Allow users to disable builtin credential handling #760
Comments
This is a good feature request, it needs little more thought though, maybe instead of having a disable switch, we implement a |
I'd like to see this implemented either way, just spit balling before settling on one solution. |
By
Just making sure I understand your request. The implementation I tried in #761 right now would disable the builtin logic completely. Happy to adapt it to the logic above, if that's what you have in mind. |
Yes, exactly.
|
Cross ref: #750 |
I have a custom Bazel credential helper that can derive working
Authorization
headers for oci registries. In one case, this is forghcr.io
, for whichrules_oci
has a token realm preconfigured.This can lead to situations where my credential helper would inject the right headers for pulling an image, but the extra requests (and command executions for docker credential helpers) fail before I get there.
I would like to have a setting (like a
repo_env
var) for disabling the builtin credential handling completely, since my docker config may be missing or misconfigured.Happy to implement such a setting, but I‘d like to know if that’s something that can be merged first.
The text was updated successfully, but these errors were encountered: