summaryrefslogtreecommitdiffstats
path: root/roles/openshift_hosted
diff options
context:
space:
mode:
authorAndrew Lau <andrew.lau@newiteration.com>2016-09-10 09:27:41 +1000
committerAndrew Lau <andrew.lau@newiteration.com>2016-09-10 09:27:41 +1000
commitf234a60a37d8ab8ccefe5109a7ff39466b3e6889 (patch)
tree20d8cf7b41e4f8fc630d66562ab2556d32eaf7d1 /roles/openshift_hosted
parent6bf9b60c0e5be8ee9aa2f9bc76cdf5bbfac632b1 (diff)
downloadopenshift-f234a60a37d8ab8ccefe5109a7ff39466b3e6889.tar.gz
openshift-f234a60a37d8ab8ccefe5109a7ff39466b3e6889.tar.bz2
openshift-f234a60a37d8ab8ccefe5109a7ff39466b3e6889.tar.xz
openshift-f234a60a37d8ab8ccefe5109a7ff39466b3e6889.zip
Add acceptschema2 and enforcequota settings for hosted registry
Diffstat (limited to 'roles/openshift_hosted')
-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 a640c264e..092b0fb35 100644
--- a/roles/openshift_hosted/templates/registry_config.j2
+++ b/roles/openshift_hosted/templates/registry_config.j2
@@ -66,6 +66,8 @@ middleware:
- name: openshift
options:
pullthrough: {{ openshift.hosted.registry.pullthrough | default(true) }}
+ acceptschema2: {{ openshift.hosted.registry.acceptschema2 | default(false) }}
+ enforcequota: {{ openshift.hosted.registry.enforcequota | default(false) }}
{% if openshift.hosted.registry.storage.provider == 's3' and 'cloudfront' in openshift.hosted.registry.storage.s3 %}
storage:
- name: cloudfront