-
Story
-
Resolution: Done
-
Normal
-
None
-
None
-
Strategic Product Work
-
5
-
False
-
None
-
False
-
OCPSTRAT-619 - Support Windows Containers in disconnected environments
-
-
-
WINC - Sprint 255
Description
Some registries require authorization tokens to access images. Containerd needs to become auth-aware in order to support pulling images from these registries.
Engineering Details
We will need to add a header field to each host listed in hosts.tomls with the auth token. E.g.
[host."https://<mirror.registry.com>"] capabilities = ["pull"] [host."https://<mirror.registry.com>".header] authorization = "Basic <token>"
The token for each registry can be taken from pull-secret Secret in openshift-config -- our docs should call put that users will need to place their token in the global pull secret
Acceptance Criteria
Auth token added to generated containerd registry config files
Containerd can pull Windows images from secure registries without any manual intervention.
- relates to
-
WINC-1304 Investigate using image pull secrets for Windows pause image
- Closed
- links to
-
RHBA-2023:125706 Red Hat OpenShift for Windows Containers 10.16.0 product release
- mentioned on