summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenny Woodson <kwoodson@redhat.com>2017-04-07 10:35:33 -0400
committerKenny Woodson <kwoodson@redhat.com>2017-04-07 10:35:33 -0400
commit44c2987231504405df1439b5026b11afe48b683d (patch)
treeb1872009b499f4cba4d3149c91356390bbd64585
parent75e79b3f8756c05ac504143b2524d587a93f8dd7 (diff)
downloadopenshift-44c2987231504405df1439b5026b11afe48b683d.tar.gz
openshift-44c2987231504405df1439b5026b11afe48b683d.tar.bz2
openshift-44c2987231504405df1439b5026b11afe48b683d.tar.xz
openshift-44c2987231504405df1439b5026b11afe48b683d.zip
Removing docker-registry route from cockpit-ui.
-rw-r--r--roles/cockpit-ui/tasks/main.yml14
1 files changed, 5 insertions, 9 deletions
diff --git a/roles/cockpit-ui/tasks/main.yml b/roles/cockpit-ui/tasks/main.yml
index 8bd68787a..1d42110b8 100644
--- a/roles/cockpit-ui/tasks/main.yml
+++ b/roles/cockpit-ui/tasks/main.yml
@@ -1,14 +1,10 @@
---
- block:
- - name: Create passthrough route for docker-registry
- oc_route:
- kubeconfig: "{{ openshift_master_config_dir }}/admin.kubeconfig"
- name: docker-registry
- namespace: default
- service_name: docker-registry
- state: present
- tls_termination: passthrough
- register: docker_registry_route
+
+ # When openshift_hosted_manage_registry=true the openshift_hosted
+ # role will create the appropriate route for the docker-registry.
+ # When openshift_hosted_manage_registry=false then this code will
+ # not be run.
- name: Create passthrough route for registry-console
oc_route: