Skip to content

Commit

Permalink
Also generate a certificate for openshift_hosted_registry_routehost
Browse files Browse the repository at this point in the history
Users can specify a custom hostname for the docker registry route.
We need to have the certificate match that host if it is specified
so that you can use docker commands against that host.
  • Loading branch information
David Moreau-Simard committed May 12, 2017
1 parent ef47fde commit d78f09d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions roles/openshift_hosted/tasks/registry/secure.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@
- "{{ docker_registry_service_ip.results.clusterip }}"
- "{{ openshift_hosted_registry_name }}.default.svc"
- "{{ openshift_hosted_registry_name }}.default.svc.{{ openshift.common.dns_domain }}"
- "{{ openshift_hosted_registry_routehost | default(omit) }}"
- "{{ docker_registry_route_hostname }}"
cert: "{{ openshift_master_config_dir }}/registry.crt"
key: "{{ openshift_master_config_dir }}/registry.key"
Expand Down

0 comments on commit d78f09d

Please sign in to comment.