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 5aa7d025f..71539775d 100644 --- a/roles/openshift_hosted/templates/registry_config.j2 +++ b/roles/openshift_hosted/templates/registry_config.j2 @@ -58,8 +58,10 @@ auth: openshift: realm: openshift middleware: +{% if openshift.common.version_gte_3_3_or_1_3 | bool %} registry: - name: openshift +{% endif -%} repository: - name: openshift options: @@ -71,7 +73,7 @@ middleware: baseurl: {{ openshift.hosted.registry.storage.s3.cloudfront.baseurl }} privatekey: {{ openshift.hosted.registry.storage.s3.cloudfront.privatekeyfile }} keypairid: {{ openshift.hosted.registry.storage.s3.cloudfront.keypairid }} -{% else %} +{% elif openshift.common.version_gte_3_3_or_1_3 | bool %} storage: - name: openshift {% endif -%} |