diff options
author | Scott Dodson <sdodson@redhat.com> | 2017-08-23 13:13:51 -0400 |
---|---|---|
committer | Scott Dodson <sdodson@redhat.com> | 2017-08-23 15:07:14 -0400 |
commit | ad642e2b8b65b6aa5267c18b7ba1d98e613c454c (patch) | |
tree | 0562f8fbe33d8973f41a48bc8c84d96f0788b76d /roles/openshift_hosted/tasks | |
parent | 1c104f28d44409fe7160a7467c65d1dfca837cc3 (diff) | |
download | openshift-ad642e2b8b65b6aa5267c18b7ba1d98e613c454c.tar.gz openshift-ad642e2b8b65b6aa5267c18b7ba1d98e613c454c.tar.bz2 openshift-ad642e2b8b65b6aa5267c18b7ba1d98e613c454c.tar.xz openshift-ad642e2b8b65b6aa5267c18b7ba1d98e613c454c.zip |
Add missing hostnames to registry cert
Diffstat (limited to 'roles/openshift_hosted/tasks')
-rw-r--r-- | roles/openshift_hosted/tasks/registry/secure.yml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/roles/openshift_hosted/tasks/registry/secure.yml b/roles/openshift_hosted/tasks/registry/secure.yml index a18e6eea9..a8a6f6fc8 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 }}" + - "{{ openshift_hosted_registry_routehost }}" 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 }}" |