Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Bug 1302956: update scheme in probes when securing a registry
  • Loading branch information
0xmichalis committed Feb 1, 2016
1 parent 97343e0 commit 4b7e875
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions install_config/install/docker_registry.adoc
Expand Up @@ -487,6 +487,11 @@ See more details on
https://github.com/docker/distribution/blob/master/docs/configuration.md#override-configuration-options[overriding
registry options].
+
. You also need to update the scheme used for the liveness and readiness probes to HTTPS:
----
$ oc get dc docker-registry -o yaml | sed -e 's/scheme: HTTP/scheme: HTTPS/g' | oc replace -f -
----
+
. Validate the registry is running in TLS mode. Wait until the *docker-registry*
pod status changes to `Running` and verify the Docker logs for the registry
container. You should find an entry for `listening on :5000, tls`.
Expand Down

0 comments on commit 4b7e875

Please sign in to comment.