From c9d0f9d00ca16f367b383321d642576423d9fe73 Mon Sep 17 00:00:00 2001 From: HebertCL Date: Wed, 13 Nov 2024 11:38:25 -0600 Subject: [PATCH] Add subPath configuration to container mountConfigMaps --- charts/universal-helm/Chart.yaml | 2 +- charts/universal-helm/templates/deployments.yaml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/charts/universal-helm/Chart.yaml b/charts/universal-helm/Chart.yaml index ebd2767..a06e585 100644 --- a/charts/universal-helm/Chart.yaml +++ b/charts/universal-helm/Chart.yaml @@ -4,7 +4,7 @@ description: A Universal Helm chart type: application -version: 0.0.25 +version: 0.0.26 # Not compatible with 0.0.1 due to change container.command appVersion: "1.16.0" diff --git a/charts/universal-helm/templates/deployments.yaml b/charts/universal-helm/templates/deployments.yaml index bb451f8..86d9340 100644 --- a/charts/universal-helm/templates/deployments.yaml +++ b/charts/universal-helm/templates/deployments.yaml @@ -155,6 +155,7 @@ spec: {{- range $cm := $dpl.mountConfigMaps }}{{/* # Volume mounts from mountConfigMaps */}} - name: {{$cm.name}} mountPath: {{ $cm.mountPath }} + subPath: {{ $cm.subPath }} {{- end }} {{- range $sec := $dpl.mountSecrets }}{{/* # Volume mounts from mountSecrets */}}