From 191b5ee64eab360a5a617009f3fd46edb029ab55 Mon Sep 17 00:00:00 2001 From: Romanow Date: Tue, 16 Apr 2024 15:12:02 +0300 Subject: [PATCH] add config volume --- charts/java-service/templates/deployment.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/java-service/templates/deployment.yaml b/charts/java-service/templates/deployment.yaml index 06f548c..0c42f93 100644 --- a/charts/java-service/templates/deployment.yaml +++ b/charts/java-service/templates/deployment.yaml @@ -120,7 +120,7 @@ spec: mountPath: /usr/share/filebeat/filebeat.yml subPath: filebeat.yml {{- range $config := .Values.configVolumes }} - - name: {{ $config.name }}-config-volume + - name: {{ $config.name }} mountPath: {{ $config.mount }} {{- if $config.path }} subPath: {{ $config.path }} @@ -136,6 +136,6 @@ spec: {{- range $config := .Values.configVolumes }} - name: {{ $config.name }} configMap: - name: {{ $config.name }}-config-volume + name: {{ $config.name }} defaultMode: 420 {{- end }}