Browse Source

Merge pull request #6185 from giuseppe/fix-additional-and-insecure-registries-for-crio

cri-o: honor additional and insecure registries again
Michael Gugino 7 years ago
parent
commit
747224e87c
1 changed files with 0 additions and 6 deletions
  1. 0 6
      roles/docker/tasks/systemcontainer_crio.yml

+ 0 - 6
roles/docker/tasks/systemcontainer_crio.yml

@@ -3,16 +3,10 @@
 # TODO: Much of this file is shared with container engine tasks
 - set_fact:
     l_insecure_crio_registries: "{{ '\"{}\"'.format('\", \"'.join(l2_docker_insecure_registries)) }}"
-  when: l2_docker_insecure_registries | bool
 - set_fact:
     l_crio_registries: "{{ l2_docker_additional_registries + ['docker.io'] }}"
-  when: l2_docker_additional_registries | bool
-- set_fact:
-    l_crio_registries: "{{ ['docker.io'] }}"
-  when: not (l2_docker_additional_registries | bool)
 - set_fact:
     l_additional_crio_registries: "{{ '\"{}\"'.format('\", \"'.join(l_crio_registries)) }}"
-  when: l2_docker_additional_registries | bool
 
 - set_fact:
     l_openshift_image_tag: "{{ openshift_image_tag | string }}"