From 61374e387508f0b42eed36ffaf8fea95c0cc123f Mon Sep 17 00:00:00 2001 From: almog8k Date: Sun, 25 Jan 2026 13:52:27 +0200 Subject: [PATCH] fix: update internal PVC path references in deployment and values files --- helm/templates/deployment.yaml | 6 ++++-- helm/values.yaml | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/helm/templates/deployment.yaml b/helm/templates/deployment.yaml index e1ee549f..b62c0152 100644 --- a/helm/templates/deployment.yaml +++ b/helm/templates/deployment.yaml @@ -10,7 +10,7 @@ {{- $fs := (include "common.fs.merged" .) | fromYaml }} {{- $configmapName := include "configmap.fullname" . }} {{- $deploymentName := include "deployment.fullname" . }} -{{ $gpkgLocation := (printf "%s/%s" $fs.internalPvc.outputPath $fs.internalPvc.gpkgSubPath) }} +{{ $gpkgLocation := (printf "%s/%s" $fs.internalPvc.mountPath $fs.internalPvc.gpkgSubPath) }} apiVersion: apps/v1 kind: Deployment @@ -78,11 +78,13 @@ spec: path: /liveness port: http volumeMounts: + {{- if $fs.internalPvc.enabled }} - name: internal-storage - mountPath: {{ $fs.internalPvc.outputPath }} + mountPath: {{ $fs.internalPvc.mountPath }} {{- if $fs.internalPvc.gpkgSubPath }} subPath: {{ $fs.internalPvc.gpkgSubPath }} {{- end }} + {{- end }} {{- if .Values.resources.enabled }} resources: {{- toYaml .Values.resources.value | nindent 12 }} diff --git a/helm/values.yaml b/helm/values.yaml index bed36b52..65bf2d68 100644 --- a/helm/values.yaml +++ b/helm/values.yaml @@ -40,7 +40,7 @@ storage: enabled: false name: "" gpkgSubPath: "" - outputPath: "" + mountPath: "" enabled: true environment: development