From c00643d4856bf8710a3dc3ba069bdf45f592d354 Mon Sep 17 00:00:00 2001 From: almog8k Date: Thu, 22 Jan 2026 14:33:51 +0200 Subject: [PATCH 1/2] fix: update mountPath for sources-storage in mapproxy-container.yaml to use values config --- helm/templates/mapproxy/mapproxy-container.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/helm/templates/mapproxy/mapproxy-container.yaml b/helm/templates/mapproxy/mapproxy-container.yaml index 7283a0d..a7f3c68 100644 --- a/helm/templates/mapproxy/mapproxy-container.yaml +++ b/helm/templates/mapproxy/mapproxy-container.yaml @@ -60,8 +60,8 @@ name: uwsgi-config subPath: log.ini {{- if $fs.internalPvc.enabled}} - - mountPath: /layerSources - name: sources-storage + - name: sources-storage + mountPath: {{ $fs.internalPvc.mountPath }} subPath: {{ $fs.internalPvc.tilesSubPath }} {{- end }} ports: From e3d914a821474c1399fa33db5d828fb5272f41d3 Mon Sep 17 00:00:00 2001 From: almog8k Date: Thu, 22 Jan 2026 15:07:35 +0200 Subject: [PATCH 2/2] refactor: standardize storage name from sources-storage to internal-storage across templates --- helm/templates/intital-container/mapproxy-init-container.yaml | 2 +- helm/templates/mapproxinator/mapproxinator-container.yaml | 2 +- helm/templates/mapproxy-bundle.yaml | 2 +- helm/templates/mapproxy/mapproxy-container.yaml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/helm/templates/intital-container/mapproxy-init-container.yaml b/helm/templates/intital-container/mapproxy-init-container.yaml index c8b2b2d..f7e5ae1 100644 --- a/helm/templates/intital-container/mapproxy-init-container.yaml +++ b/helm/templates/intital-container/mapproxy-init-container.yaml @@ -68,7 +68,7 @@ {{- end }} {{- if eq (upper $storage.mapproxyConfigProvider) "FS" }} - mountPath: /configSource/mapproxy.yaml - name: sources-storage + name: internal-storage subPath: config/mapproxy.yaml {{- end }} {{- if .Values.global.ca.enabled }} diff --git a/helm/templates/mapproxinator/mapproxinator-container.yaml b/helm/templates/mapproxinator/mapproxinator-container.yaml index 808659f..b034995 100644 --- a/helm/templates/mapproxinator/mapproxinator-container.yaml +++ b/helm/templates/mapproxinator/mapproxinator-container.yaml @@ -68,7 +68,7 @@ subPath: log.ini {{- if eq (upper $storage.mapproxyConfigProvider) "FS" }} - mountPath: /configSource/mapproxy.yaml - name: sources-storage + name: internal-storage subPath: config/mapproxy.yaml {{- end }} {{- if $db.sslEnabled }} diff --git a/helm/templates/mapproxy-bundle.yaml b/helm/templates/mapproxy-bundle.yaml index edb3fb5..f5f732c 100644 --- a/helm/templates/mapproxy-bundle.yaml +++ b/helm/templates/mapproxy-bundle.yaml @@ -93,7 +93,7 @@ - key: "LOG_INI" path: "log.ini" {{- if $fs.internalPvc.enabled }} - - name: sources-storage + - name: internal-storage persistentVolumeClaim: claimName: {{ $fs.internalPvc.name }} {{- end }} diff --git a/helm/templates/mapproxy/mapproxy-container.yaml b/helm/templates/mapproxy/mapproxy-container.yaml index a7f3c68..b9bb8ea 100644 --- a/helm/templates/mapproxy/mapproxy-container.yaml +++ b/helm/templates/mapproxy/mapproxy-container.yaml @@ -60,7 +60,7 @@ name: uwsgi-config subPath: log.ini {{- if $fs.internalPvc.enabled}} - - name: sources-storage + - name: internal-storage mountPath: {{ $fs.internalPvc.mountPath }} subPath: {{ $fs.internalPvc.tilesSubPath }} {{- end }}