Browse Source

Merge pull request #6923 from openshift/revert-6913-revert-6830-registry_addr

Automatic merge from submit-queue.

Revert "Revert "use non-deprecated REGISTRY_OPENSHIFT_SERVER_ADDR variable to set the registry hostname""

Reverts openshift/openshift-ansible#6913

image-registry has been fixed to properly respect this variable now. re-enabling this change.
OpenShift Merge Robot 7 years ago
parent
commit
844156f49a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      roles/openshift_hosted/tasks/registry.yml

+ 1 - 1
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