summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen Parees <bparees@users.noreply.github.com>2018-01-29 13:18:10 -0500
committerGitHub <noreply@github.com>2018-01-29 13:18:10 -0500
commit5ea67bc7b7123d1c108f77822a41c785b7ae84b8 (patch)
treebc30ee0af0e82e4f00c6a2f93e89994598ba8654
parent6b1b0a07bc3ffec47021c4c4e77d96defc268b77 (diff)
downloadopenshift-5ea67bc7b7123d1c108f77822a41c785b7ae84b8.tar.gz
openshift-5ea67bc7b7123d1c108f77822a41c785b7ae84b8.tar.bz2
openshift-5ea67bc7b7123d1c108f77822a41c785b7ae84b8.tar.xz
openshift-5ea67bc7b7123d1c108f77822a41c785b7ae84b8.zip
Revert "Revert "use non-deprecated REGISTRY_OPENSHIFT_SERVER_ADDR variable to set the registry hostname""
-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