summaryrefslogtreecommitdiffstats
path: root/playbooks/adhoc
diff options
context:
space:
mode:
authorgaelL <gael.lambert@enovance.com>2016-01-22 15:03:39 +0100
committergaelL <gael.lambert@enovance.com>2016-01-22 15:11:32 +0100
commit97f0ae71d47b1572d9dc905c2f55410f23d4d4ca (patch)
treefb9286f09a2aa7d475e2df20dba8c2be16e3ec38 /playbooks/adhoc
parent74b73d3c83165e45398af8b60eeb25f9d11dd13c (diff)
downloadopenshift-97f0ae71d47b1572d9dc905c2f55410f23d4d4ca.tar.gz
openshift-97f0ae71d47b1572d9dc905c2f55410f23d4d4ca.tar.bz2
openshift-97f0ae71d47b1572d9dc905c2f55410f23d4d4ca.tar.xz
openshift-97f0ae71d47b1572d9dc905c2f55410f23d4d4ca.zip
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
Diffstat (limited to 'playbooks/adhoc')
-rw-r--r--playbooks/adhoc/s3_registry/s3_registry.j23
1 files changed, 3 insertions, 0 deletions
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