From 2c2a0d91e640b7ef91b2cfe262e0f292bf85fdea Mon Sep 17 00:00:00 2001 From: Scott Dodson Date: Wed, 23 Aug 2017 13:13:51 -0400 Subject: [PATCH] Add missing hostnames to registry cert --- roles/openshift_hosted/tasks/registry/secure.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/roles/openshift_hosted/tasks/registry/secure.yml b/roles/openshift_hosted/tasks/registry/secure.yml index a18e6eea9e4..95d870eb9cf 100644 --- a/roles/openshift_hosted/tasks/registry/secure.yml +++ b/roles/openshift_hosted/tasks/registry/secure.yml @@ -37,6 +37,9 @@ hostnames: - "{{ docker_registry_service.results.clusterip }}" - "{{ docker_registry_route.results[0].spec.host }}" + - "{{ openshift_hosted_registry_name }}.default.svc" + - "{{ openshift_hosted_registry_name }}.default.svc.{{ openshift.common.dns_domain }}" + - "{{ docker_registry_route_hostname }}" cert: "{{ docker_registry_cert_path }}" key: "{{ docker_registry_key_path }}" expire_days: "{{ openshift_hosted_registry_cert_expire_days if openshift_version | oo_version_gte_3_5_or_1_5(openshift.common.deployment_type) | bool else omit }}"