From 00f438ac92323cf3f2109adb7f2f70998f77bc23 Mon Sep 17 00:00:00 2001 From: Scott Dodson Date: Thu, 9 Feb 2017 13:20:06 -0500 Subject: Document openshift_cockpit_deployer_prefix and add openshift_cockpit_deployer_version Fixes Bug 1393666 --- roles/cockpit-ui/tasks/main.yml | 2 ++ 1 file changed, 2 insertions(+) (limited to 'roles/cockpit-ui') diff --git a/roles/cockpit-ui/tasks/main.yml b/roles/cockpit-ui/tasks/main.yml index 87ed7fee7..f2ef4f161 100644 --- a/roles/cockpit-ui/tasks/main.yml +++ b/roles/cockpit-ui/tasks/main.yml @@ -63,10 +63,12 @@ changed_when: false when: check_docker_registry_exists.rc == 0 +# TODO: Need to fix the origin and enterprise templates so that they both respect IMAGE_PREFIX - name: Deploy registry-console command: > {{ openshift.common.client_binary }} new-app --template=registry-console {% if openshift_cockpit_deployer_prefix is defined %}-p IMAGE_PREFIX="{{ openshift_cockpit_deployer_prefix }}"{% endif %} + {% if openshift_cockpit_deployer_version is defined %}-p IMAGE_VERSION="{{ openshift_cockpit_deployer_version }}"{% endif %} -p OPENSHIFT_OAUTH_PROVIDER_URL="{{ openshift.master.public_api_url }}" -p REGISTRY_HOST="{{ docker_registry_route.stdout }}" -p COCKPIT_KUBE_URL="{{ registry_console_cockpit_kube_url.stdout }}" -- cgit v1.2.1