diff --git a/chart/Chart.yaml b/chart/Chart.yaml
index 3fdfe3794b6f9496935612c98c6af3b1114d2b73..676d4188ef8388805df66e3e98c4382200797f8f 100644
--- a/chart/Chart.yaml
+++ b/chart/Chart.yaml
@@ -7,7 +7,7 @@ type: application
 # This is the chart version. This version number should be incremented each time you make changes
 # to the chart and its templates, including the app version.
 # Versions are expected to follow Semantic Versioning (https://semver.org/)
-version: 0.3.0
+version: 0.3.1
 
 # This is the version number of the application being deployed. This version number should be
 # incremented each time you make changes to the application.
diff --git a/chart/files/mapcache.xml b/chart/files/mapcache.xml
index c83453ecbf893c6a18cff0e8b83452b363a0a4e8..51a6b3790005a8b37f9dee216b88463c0db3155c 100644
--- a/chart/files/mapcache.xml
+++ b/chart/files/mapcache.xml
@@ -65,7 +65,7 @@
   </cache>
   {{- else if eq .Values.config.objectStorage.cache.type "S3" }}
   <cache name="cache" type="S3">
-    <url>{{ endpoint_url }}/{tileset}/{grid}/{z}/{x}/{y}/{ext}</url>
+    <url>{{ .Values.config.objectStorage.cache.endpoint_url }}/{tileset}/{grid}/{z}/{x}/{y}/{ext}</url>
     <!-- <headers>
       <Host>foo.s3.amazonaws.com</Host>
     </headers> -->