diff options
Diffstat (limited to 'roles')
| -rw-r--r-- | roles/openshift_hosted/templates/registry_config.j2 | 4 | 
1 files changed, 3 insertions, 1 deletions
diff --git a/roles/openshift_hosted/templates/registry_config.j2 b/roles/openshift_hosted/templates/registry_config.j2 index b70ec500e..092b0fb35 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: @@ -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  | 
