summaryrefslogtreecommitdiffstats
path: root/roles/openshift_hosted
diff options
context:
space:
mode:
authorAndrew Butcher <abutcher@redhat.com>2016-09-09 13:16:16 -0400
committerAndrew Butcher <abutcher@redhat.com>2016-09-09 13:16:16 -0400
commit6e555202c850902b66e30dd83b0a475e024efbc5 (patch)
tree5c80115c76b8e3ac175338e71198a8badb1c5b5f /roles/openshift_hosted
parent52eeaed447a97a85d0266036136ac611be13bbae (diff)
downloadopenshift-6e555202c850902b66e30dd83b0a475e024efbc5.tar.gz
openshift-6e555202c850902b66e30dd83b0a475e024efbc5.tar.bz2
openshift-6e555202c850902b66e30dd83b0a475e024efbc5.tar.xz
openshift-6e555202c850902b66e30dd83b0a475e024efbc5.zip
Add option for specifying s3 registry storage root directory.
Diffstat (limited to 'roles/openshift_hosted')
-rw-r--r--roles/openshift_hosted/templates/registry_config.j22
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/openshift_hosted/templates/registry_config.j2 b/roles/openshift_hosted/templates/registry_config.j2
index b70ec500e..a640c264e 100644
--- a/roles/openshift_hosted/templates/registry_config.j2
+++ b/roles/openshift_hosted/templates/registry_config.j2
@@ -15,7 +15,7 @@ storage:
encrypt: false
secure: true
v4auth: true
- rootdirectory: /registry
+ rootdirectory: {{ openshift.hosted.registry.storage.s3.rootdirectory | default('/registry') }}
chunksize: "{{ openshift.hosted.registry.storage.s3.chunksize | default(26214400) }}"
{% elif openshift.hosted.registry.storage.provider == 'azure_blob' %}
azure: