Skip to content

Commit

Permalink
Merge pull request #92 from mbaldessari/common-automatic-update
Browse files Browse the repository at this point in the history
Add docker.io to the whitelisted registries when loading an IIB
  • Loading branch information
mbaldessari committed Aug 1, 2023
2 parents a246609 + cd618af commit 80d44c6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@

- name: Set registry allowedRegistries
ansible.builtin.shell: >
oc patch image.config.openshift.io/cluster --patch "{\"spec\":{\"registrySources\":{\"allowedRegistries\":[ \"registry.stage.redhat.io\", \"registry.access.redhat.com\", \"registry.connect.redhat.com\", \"ghcr.io\", \"gcr.io\", \"quay.io\", \"registry.redhat.io\",
oc patch image.config.openshift.io/cluster --patch "{\"spec\":{\"registrySources\":{\"allowedRegistries\":[ \"registry.stage.redhat.io\", \"registry.access.redhat.com\", \"registry.connect.redhat.com\", \"ghcr.io\", \"gcr.io\", \"quay.io\", \"registry.redhat.io\", \"docker.io\",
\"registry-proxy.engineering.redhat.com\", \"image-registry.openshift-image-registry.svc:5000\", \"{{ registry_route }}\"]}}}" --type=merge
- name: Set registry insecureRegistries
Expand Down

0 comments on commit 80d44c6

Please sign in to comment.