diff options
author | Giuseppe Scrivano <gscrivan@redhat.com> | 2018-01-10 10:02:55 +0100 |
---|---|---|
committer | Giuseppe Scrivano <gscrivan@redhat.com> | 2018-01-10 15:00:05 +0100 |
commit | 39e8ac6e5d9c0046c75635638c3206729b6c9c89 (patch) | |
tree | a75916ae54350cbb1f592e7921a4fecded51c027 /roles | |
parent | 19ae452d558d7f04f49d024bf82fcb7221c8fa0d (diff) | |
download | openshift-39e8ac6e5d9c0046c75635638c3206729b6c9c89.tar.gz openshift-39e8ac6e5d9c0046c75635638c3206729b6c9c89.tar.bz2 openshift-39e8ac6e5d9c0046c75635638c3206729b6c9c89.tar.xz openshift-39e8ac6e5d9c0046c75635638c3206729b6c9c89.zip |
crio: use Docker and CentOS registries for the image
Diffstat (limited to 'roles')
-rw-r--r-- | roles/container_runtime/defaults/main.yml | 27 |
1 files changed, 8 insertions, 19 deletions
diff --git a/roles/container_runtime/defaults/main.yml b/roles/container_runtime/defaults/main.yml index d0e37e2f4..ae94fba2f 100644 --- a/roles/container_runtime/defaults/main.yml +++ b/roles/container_runtime/defaults/main.yml @@ -101,26 +101,15 @@ l_crt_crio_image_tag_dict: openshift-enterprise: "{{ l_openshift_image_tag }}" origin: "{{ openshift_crio_image_tag | default(openshift_crio_image_tag_default) }}" -l_crt_crio_image_prepend_dict: - openshift-enterprise: "registry.access.redhat.com/openshift3" - origin: "docker.io/gscrivano" - l_crt_crio_image_dict: - Fedora: - crio_image_name: "cri-o-fedora" - crio_image_tag: "latest" - CentOS: - crio_image_name: "cri-o-centos" - crio_image_tag: "latest" - RedHat: - crio_image_name: "cri-o" - crio_image_tag: "{{ openshift_crio_image_tag | default(l_crt_crio_image_tag_dict[openshift_deployment_type]) }}" - -l_crio_image_prepend: "{{ l_crt_crio_image_prepend_dict[openshift_deployment_type] }}" -l_crio_image_name: "{{ l_crt_crio_image_dict[ansible_distribution]['crio_image_name'] }}" -l_crio_image_tag: "{{ l_crt_crio_image_dict[ansible_distribution] }}" - -l_crio_image_default: "{{ l_crio_image_prepend }}/{{ l_crio_image_name }}:{{ l_crio_image_tag }}" + Fedora: "registry.fedoraproject.org/latest/cri-o" + CentOS: "registry.centos.org/projectatomic/cri-o" + RedHat: "registry.access.redhat.com/openshift3/cri-o" + +l_crio_image_name: "{{ l_crt_crio_image_dict[ansible_distribution] }}" +l_crio_image_tag: "{{ l_crt_crio_image_tag_dict[openshift_deployment_type] }}" + +l_crio_image_default: "{{ l_crio_image_name }}:{{ l_crio_image_tag }}" l_crio_image: "{{ openshift_crio_systemcontainer_image_override | default(l_crio_image_default) }}" # ----------------------- # |