Przeglądaj źródła

Removing docker-registry route from cockpit-ui.

Kenny Woodson 8 lat temu
rodzic
commit
44c2987231
1 zmienionych plików z 5 dodań i 9 usunięć
  1. 5 9
      roles/cockpit-ui/tasks/main.yml

+ 5 - 9
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: