summaryrefslogtreecommitdiffstats
path: root/roles
diff options
context:
space:
mode:
Diffstat (limited to 'roles')
-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