summaryrefslogtreecommitdiffstats
path: root/roles/openshift_hosted/templates
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2016-07-13 09:46:43 -0400
committerGitHub <noreply@github.com>2016-07-13 09:46:43 -0400
commit9718c2e21edf8526e268a59c28c2b2fbb8826f7c (patch)
tree9ec892000887ac61e79e16717e4725cd6073f1e0 /roles/openshift_hosted/templates
parent21fcfdbbafc138ccc8e648b4134f9352df38da51 (diff)
parent24e6b2832075eee40da19c0cb496e97494db7427 (diff)
downloadopenshift-9718c2e21edf8526e268a59c28c2b2fbb8826f7c.tar.gz
openshift-9718c2e21edf8526e268a59c28c2b2fbb8826f7c.tar.bz2
openshift-9718c2e21edf8526e268a59c28c2b2fbb8826f7c.tar.xz
openshift-9718c2e21edf8526e268a59c28c2b2fbb8826f7c.zip
Merge pull request #2138 from abutcher/registry-pullthrough
Enable pullthrough by default in registry config for object storage.
Diffstat (limited to 'roles/openshift_hosted/templates')
-rw-r--r--roles/openshift_hosted/templates/registry_config.j22
1 files changed, 2 insertions, 0 deletions
diff --git a/roles/openshift_hosted/templates/registry_config.j2 b/roles/openshift_hosted/templates/registry_config.j2
index 88704d968..ea5626642 100644
--- a/roles/openshift_hosted/templates/registry_config.j2
+++ b/roles/openshift_hosted/templates/registry_config.j2
@@ -60,6 +60,8 @@ auth:
middleware:
repository:
- name: openshift
+ options:
+ pullthrough: {{ openshift.hosted.registry.pullthrough | default(true) }}
{% if openshift.hosted.registry.storage.provider == 's3' and 'cloudfront' in openshift.hosted.registry.storage.s3 %}
storage:
- name: cloudfront