ImageContentSourcePolicy (ICSP)
ICSP is used to redirect request to a registry to its mirror.
apiVersion: operator.openshift.io/v1alpha1
kind: ImageContentSourcePolicy
metadata:
name: ubi8repo
spec:
repositoryDigestMirrors:
- mirrors:
- example.io/example/ubi-minimal
source: registry.access.redhat.com/ubi8/ubi-minimal
- mirrors:
- example.com/example/ubi-minimal
source: registry.access.redhat.com/ubi8/ubi-minimal
- mirrors:
- mirror.example.com/redhat
source: registry.redhat.io/openshift4
Just for reference:
https://docs.openshift.com/container-platform/4.9/rest_api/operator_apis/imagecontentsourcepolicy-operator-openshift-io-v1alpha1.html
No comments:
Post a Comment