summaryrefslogtreecommitdiffstats
path: root/roles/openshift_hosted/tasks/registry/secure
Commit message (Collapse)AuthorAgeFilesLines
* Refactor openshift_hosted's docker-registry route setupDavid Moreau-Simard2017-07-232-0/+83
We have identified an issue where a docker-registry service set up as 'reencrypt' with a provided certificate and a self-signed certificate on the pod does not authorize users to push images. If the docker-registry service is set up as 'passthrough' with the same provided certificate, everything works. In light of this, this commit essentially adds support for configuring provided certificates with a passthrough route while maintaining backwards compatibility with the other use cases. The default remains 'passthrough' with self-generated certificates. Other miscellaneous changes include: - Move fact setup that were only used in secure.yml there - Omit the hostname for the route if there are none to configure, oc_route takes care of handling the default - Replace hardcoded /etc/origin/master by openshift_master_config_dir