Skip to content

Commit

Permalink
Add proxy and stage image reg into insecure config (#326)
Browse files Browse the repository at this point in the history
  • Loading branch information
kornys authored Jan 23, 2024
1 parent 1197fcf commit 39d933c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
KUBECONFIG: "{{ kubeconfig_path }}/{{ worker.name }}"

- name: "Set anonymous pull rights on {{ worker.name }}"
shell: "oc patch --type=merge --patch='{ \"spec\": { \"registrySources\": { \"insecureRegistries\": [ \"default-route-openshift-image-registry.apps.{{ worker.name }}.{{ cluster_domain }}\" ] } } }' image.config.openshift.io/cluster"
shell: "oc patch --type=merge --patch='{ \"spec\": { \"registrySources\": { \"insecureRegistries\": [ \"default-route-openshift-image-registry.apps.{{ worker.name }}.{{ cluster_domain }}\", \"{{ insecure_registry_name }}\", \"registry.stage.redhat.io\" ] } } }' image.config.openshift.io/cluster"
environment:
KUBECONFIG: "{{ kubeconfig_path }}/{{ worker.name }}"

Expand Down

0 comments on commit 39d933c

Please sign in to comment.