- Download the pull secret from RedHat cloud console.
- Un-base64 the auths for all of the registries
- Configure registry caches in Harbor
- Configure imageContentSources in the
install-config.yaml
apiVersion: v1
baseDomain: example.org
metadata:
name: ocp
# ...
pullSecret: '{"auths":{"harbor.example.org":{"auth":"YWRtaW46SGFyYm9yMTIzNDU=" }}}'
imageContentSources:
- mirrors:
- harbor.example.org/quay.io
source: quay.io
- mirrors:
- harbor.example.org/registry.redhat.io
source: registry.redhat.io
- mirrors:
- harbor.example.org/registry.connect.redhat.com
source: registry.connect.redhat.com