Adds https mode to credentialConfig#397
Conversation
Signed-off-by: Julius <juliusl@microsoft.com>
Signed-off-by: Julius <juliusl@microsoft.com>
|
Maybe we can add a 'certs.d' dir like contiainerd to support multiple Registry and credential Server |
|
That containerd feature still requires the cert paths to be configured in a hosts.toml file, it doesn't automatically pick certs from the folder. Also it works by routing by host matching directories, while the current feature centralizes credential fetching from a single source. It would be a new design altogether since this change is about securing the connection used by the current design. |
Fine... |
What this PR does / why we need it:
Similar to the current
httpcredentialConfigmode, this PR adds ahttpsmode with additional options for enabling full mTLS with a local auth server.This enables hardening localhost connections in environments that may allow merged network namespaces w/ running containers.
Tested integration manually w/ private build of AKS/ACR artifact streaming.
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)format, will close the issue(s) when PR gets merged):Fixes #
Please check the following list: