summaryrefslogtreecommitdiffstats
path: root/roles
diff options
context:
space:
mode:
authorAndrew Butcher <abutcher@redhat.com>2016-07-11 11:28:48 -0400
committerAndrew Butcher <abutcher@redhat.com>2016-07-11 13:33:26 -0400
commit24e6b2832075eee40da19c0cb496e97494db7427 (patch)
tree90a406655a4108e447c003dbf6c3f72024e9508c /roles
parent8d5093659acb2947fe1734ff2035073a091d3647 (diff)
downloadopenshift-24e6b2832075eee40da19c0cb496e97494db7427.tar.gz
openshift-24e6b2832075eee40da19c0cb496e97494db7427.tar.bz2
openshift-24e6b2832075eee40da19c0cb496e97494db7427.tar.xz
openshift-24e6b2832075eee40da19c0cb496e97494db7427.zip
Enable pullthrough by default in registry config for object storage.
Diffstat (limited to 'roles')
-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