[DNM] [openshift_setup] Refactor registries patch to use Ansible modules instead of ansible.builtin.shell with oc patch.#3767
Conversation
…stead of ansible.builtin.shell with oc patch. - Refactoring task "Add additional allowed registries" as specified here ( https://github.com/openstack-k8s-operators/ci-framework/pull/3712/changes#r2858651309*) and using Ansible module to patch. - Merging tasks "Patch the image.config.openshift.io resource to include insecure registry" and "Patch the image.config.openshift.io resource to allow registries" in to a single task, replacing use of ansible.builtin.shell with use of Ansible module. Signed-off-by: nemarjan <nemarjan@redhat.com>
|
Skipping CI for Draft Pull Request. |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
Build failed (check pipeline). Post https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/ca2ae5211d0d421085a5d6fc89d4eb1e ✔️ openstack-k8s-operators-content-provider SUCCESS in 2h 05m 08s |
Refactoring task "Add additional allowed registries" as specified here ( https://github.com/openstack-k8s-operators/ci-framework/pull/3712/changes#r2858651309*) and using Ansible module to patch.
Merging tasks "Patch the image.config.openshift.io resource to include insecure registry" and "Patch the image.config.openshift.io resource to allow registries" in to a single task, replacing use of ansible.builtin.shell with use of Ansible module.