From 0da4565f55faeb436b5a4634a1f57d18ffb7e0c4 Mon Sep 17 00:00:00 2001 From: Ben Parees Date: Tue, 23 Jan 2018 10:06:44 -0500 Subject: use non-deprecated REGISTRY_OPENSHIFT_SERVER_ADDR variable to set the registry hostname bug 1537593 https://bugzilla.redhat.com/show_bug.cgi?id=1537593 --- roles/openshift_hosted/tasks/registry.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'roles/openshift_hosted/tasks') diff --git a/roles/openshift_hosted/tasks/registry.yml b/roles/openshift_hosted/tasks/registry.yml index 22294e3d4..bc4d81eb7 100644 --- a/roles/openshift_hosted/tasks/registry.yml +++ b/roles/openshift_hosted/tasks/registry.yml @@ -43,7 +43,7 @@ - name: Update registry environment variables when pushing via dns set_fact: - openshift_hosted_registry_env_vars: "{{ openshift_hosted_registry_env_vars | combine({'OPENSHIFT_DEFAULT_REGISTRY':'docker-registry.default.svc:5000'}) }}" + openshift_hosted_registry_env_vars: "{{ openshift_hosted_registry_env_vars | combine({'REGISTRY_OPENSHIFT_SERVER_ADDR':'docker-registry.default.svc:5000'}) }}" when: openshift_push_via_dns | bool - name: Update registry proxy settings for dc/docker-registry -- cgit v1.2.3