summaryrefslogtreecommitdiffstats
path: root/roles/openshift_hosted/templates
diff options
context:
space:
mode:
authorTobias Brunner <tobias.brunner@vshn.ch>2016-10-12 17:24:19 +0200
committerTobias Brunner <tobias.brunner@vshn.ch>2016-10-12 17:24:19 +0200
commitf47c871eafed2bb862d16ee83db2a1562f1b3aea (patch)
treec97159bffa4405c92d1594f3e0134b8ebadbf115 /roles/openshift_hosted/templates
parente30fdf9f1c3e5b9655b56a41c3691a61fdc775aa (diff)
downloadopenshift-f47c871eafed2bb862d16ee83db2a1562f1b3aea.tar.gz
openshift-f47c871eafed2bb862d16ee83db2a1562f1b3aea.tar.bz2
openshift-f47c871eafed2bb862d16ee83db2a1562f1b3aea.tar.xz
openshift-f47c871eafed2bb862d16ee83db2a1562f1b3aea.zip
add regionendpoint parameter for registry s3
Diffstat (limited to 'roles/openshift_hosted/templates')
-rw-r--r--roles/openshift_hosted/templates/registry_config.j23
1 files changed, 3 insertions, 0 deletions
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