summaryrefslogtreecommitdiffstats
path: root/roles
diff options
context:
space:
mode:
authorBen Parees <bparees@redhat.com>2018-01-23 10:06:44 -0500
committerBen Parees <bparees@redhat.com>2018-01-23 10:13:16 -0500
commit0da4565f55faeb436b5a4634a1f57d18ffb7e0c4 (patch)
tree89871502057a5fae7314028a6badebc2898ab024 /roles
parent710f368cd1512613fe6f4cdcfd613589e9cfb296 (diff)
downloadopenshift-0da4565f55faeb436b5a4634a1f57d18ffb7e0c4.tar.gz
openshift-0da4565f55faeb436b5a4634a1f57d18ffb7e0c4.tar.bz2
openshift-0da4565f55faeb436b5a4634a1f57d18ffb7e0c4.tar.xz
openshift-0da4565f55faeb436b5a4634a1f57d18ffb7e0c4.zip
use non-deprecated REGISTRY_OPENSHIFT_SERVER_ADDR variable to set the registry hostname
bug 1537593 https://bugzilla.redhat.com/show_bug.cgi?id=1537593
Diffstat (limited to 'roles')
-rw-r--r--roles/openshift_hosted/tasks/registry.yml2
1 files changed, 1 insertions, 1 deletions
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