From 97f0ae71d47b1572d9dc905c2f55410f23d4d4ca Mon Sep 17 00:00:00 2001 From: gaelL Date: Fri, 22 Jan 2016 15:03:39 +0100 Subject: adhoc s3 registry - add auth part in the registry config sample Without the auth part, after spawning the registry we were not able to do an auth. ``` docker login -u .. -p ... 172.30.234.98:5000 Error response from daemon: no successful auth challenge forhttp://172.30.234.98:5000/v2/ - errors: [] ``` Simply adding this part in the registry config sample --- playbooks/adhoc/s3_registry/s3_registry.j2 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/playbooks/adhoc/s3_registry/s3_registry.j2 b/playbooks/adhoc/s3_registry/s3_registry.j2 index acfa89515..d997a73b1 100644 --- a/playbooks/adhoc/s3_registry/s3_registry.j2 +++ b/playbooks/adhoc/s3_registry/s3_registry.j2 @@ -15,6 +15,9 @@ storage: secure: true v4auth: true rootdirectory: /registry +auth: + openshift: + realm: openshift middleware: repository: - name: openshift -- cgit v1.2.3