summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2017-02-27 20:35:03 -0500
committerScott Dodson <sdodson@redhat.com>2017-04-03 13:08:43 -0400
commit337216e4ac13557ac3459c89e482d0ed6e4b76f0 (patch)
tree12bf3002eb6de83fd896bb1fc46cd6e5e2541766
parent0bac74c346bb5c620bdf1941b40c29ff3083e2b0 (diff)
downloadopenshift-337216e4ac13557ac3459c89e482d0ed6e4b76f0.tar.gz
openshift-337216e4ac13557ac3459c89e482d0ed6e4b76f0.tar.bz2
openshift-337216e4ac13557ac3459c89e482d0ed6e4b76f0.tar.xz
openshift-337216e4ac13557ac3459c89e482d0ed6e4b76f0.zip
Add docker-registry.default.svc short name to registry service signing
-rw-r--r--roles/openshift_hosted/tasks/registry/secure.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/roles/openshift_hosted/tasks/registry/secure.yml b/roles/openshift_hosted/tasks/registry/secure.yml
index 8a159bf73..29c164f52 100644
--- a/roles/openshift_hosted/tasks/registry/secure.yml
+++ b/roles/openshift_hosted/tasks/registry/secure.yml
@@ -53,7 +53,8 @@
signer_serial: "{{ openshift_master_config_dir }}/ca.serial.txt"
hostnames:
- "{{ docker_registry_service_ip.results.clusterip }}"
- - docker-registry.default.svc.cluster.local
+ - "{{ openshift_hosted_registry_name }}.default.svc"
+ - "{{ openshift_hosted_registry_name }}.default.svc.{{ openshift.common.dns_domain }}"
- "{{ docker_registry_route_hostname }}"
cert: "{{ openshift_master_config_dir }}/registry.crt"
key: "{{ openshift_master_config_dir }}/registry.key"