Fix issues with certs.d template generation
* Fix issue with bare host or IP as endpoint
* Fix issue with localhost registries not defaulting to http.
* Move the registry template prep to a separate function,
and adds tests of that function so that we can ensure we're
generating the correct content.
Signed-off-by:
Brad Davidson <brad.davidson@rancher.com>
Showing
This diff is collapsed.
Click to expand it.
Please
register
or
sign in
to comment