A BuildConfig uses an S2I strategy and needs to pull private base images from a secured external container registry. Where must the administrator configure the pull credentials so the builder pod can authenticate?
Trap 1: In the ImageStream tag policy
ImageStream tag policies manage import behaviors, not build-time registry credentials.
Trap 2: In the Route resource annotations
Routes only handle external ingress traffic routing.
Trap 3: In the global cluster OAuth configuration
OAuth configuration handles user authentication to the OpenShift web console and API, not container registry pulls.
- A
In the ImageStream tag policy
Why it fails: ImageStream tag policies manage import behaviors, not build-time registry credentials.
- B
In the Route resource annotations
Why it fails: Routes only handle external ingress traffic routing.
- C
In the global cluster OAuth configuration
Why it fails: OAuth configuration handles user authentication to the OpenShift web console and API, not container registry pulls.
- D
In the BuildConfig spec under strategy.dockerStrategy.pullSecret or source/strategy configuration
Build configs support pullSecret configurations to authenticate against private registries during image pulls.