summaryrefslogtreecommitdiffstats
path: root/roles/openshift_hosted/tasks
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2017-08-25 15:20:40 -0400
committerGitHub <noreply@github.com>2017-08-25 15:20:40 -0400
commit7e369159e6e7d4ab6f54659eff0c02a54b3c3a6c (patch)
treecdb686b8596e9868f3eaa5cfede0570648c7f469 /roles/openshift_hosted/tasks
parent5dd0f2b949240d811a34d9e90c581a6068b392cb (diff)
parentad642e2b8b65b6aa5267c18b7ba1d98e613c454c (diff)
downloadopenshift-7e369159e6e7d4ab6f54659eff0c02a54b3c3a6c.tar.gz
openshift-7e369159e6e7d4ab6f54659eff0c02a54b3c3a6c.tar.bz2
openshift-7e369159e6e7d4ab6f54659eff0c02a54b3c3a6c.tar.xz
openshift-7e369159e6e7d4ab6f54659eff0c02a54b3c3a6c.zip
Merge pull request #5178 from sdodson/fix-registry-cert
Add missing hostnames to registry cert
Diffstat (limited to 'roles/openshift_hosted/tasks')
-rw-r--r--roles/openshift_hosted/tasks/registry/secure.yml3
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 }}"