From f47c871eafed2bb862d16ee83db2a1562f1b3aea Mon Sep 17 00:00:00 2001 From: Tobias Brunner Date: Wed, 12 Oct 2016 17:24:19 +0200 Subject: add regionendpoint parameter for registry s3 --- roles/openshift_hosted/templates/registry_config.j2 | 3 +++ 1 file changed, 3 insertions(+) (limited to 'roles/openshift_hosted/templates') diff --git a/roles/openshift_hosted/templates/registry_config.j2 b/roles/openshift_hosted/templates/registry_config.j2 index cfe7ac81c..2fc38a8cf 100644 --- a/roles/openshift_hosted/templates/registry_config.j2 +++ b/roles/openshift_hosted/templates/registry_config.j2 @@ -13,6 +13,9 @@ storage: accesskey: {{ openshift.hosted.registry.storage.s3.accesskey }} secretkey: {{ openshift.hosted.registry.storage.s3.secretkey }} region: {{ openshift.hosted.registry.storage.s3.region }} +{% if openshift.hosted.registry.storage.s3.regionendpoint %} + regionendpoint: {{ aws_bucket_region_endpoint }} +{% endif -%} bucket: {{ openshift.hosted.registry.storage.s3.bucket }} encrypt: false secure: true -- cgit v1.2.3