Skip to content

Commit

Permalink
Merge pull request #5178 from sdodson/fix-registry-cert
Browse files Browse the repository at this point in the history
Add missing hostnames to registry cert
  • Loading branch information
sdodson authored Aug 25, 2017
2 parents 5dd0f2b + ad642e2 commit 7e36915
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions roles/openshift_hosted/tasks/registry/secure.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}"
Expand Down

0 comments on commit 7e36915

Please sign in to comment.