diff options
-rw-r--r-- | roles/openshift_hosted/templates/registry_config.j2 | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/roles/openshift_hosted/templates/registry_config.j2 b/roles/openshift_hosted/templates/registry_config.j2 index ea5626642..5aa7d025f 100644 --- a/roles/openshift_hosted/templates/registry_config.j2 +++ b/roles/openshift_hosted/templates/registry_config.j2 @@ -58,6 +58,8 @@ auth: openshift: realm: openshift middleware: + registry: + - name: openshift repository: - name: openshift options: @@ -69,4 +71,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 %} + storage: + - name: openshift {% endif -%} |