From 4bb3da3dccebf6abdb390d80ac3c4e323ed43250 Mon Sep 17 00:00:00 2001 From: Bartosz Gardziejewski Date: Wed, 21 Apr 2021 12:08:50 +0200 Subject: [DCEAGEN] Add app-config volume mount to common dceagen2 template Mount volume containing app configuration to all deployments in dcaegen2 Signed-off-by: Bartosz Gardziejewski Issue-ID: DCAEGEN2-2692 Change-Id: I414c44633f7dd1b0a37b135e5cbc2f2111494a0b --- .../common/dcaegen2-services-common/templates/_deployment.tpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'kubernetes/dcaegen2-services') diff --git a/kubernetes/dcaegen2-services/common/dcaegen2-services-common/templates/_deployment.tpl b/kubernetes/dcaegen2-services/common/dcaegen2-services-common/templates/_deployment.tpl index c03be83264..e9ada4d87c 100644 --- a/kubernetes/dcaegen2-services/common/dcaegen2-services-common/templates/_deployment.tpl +++ b/kubernetes/dcaegen2-services/common/dcaegen2-services-common/templates/_deployment.tpl @@ -180,8 +180,9 @@ spec: {{- end }} {{- end }} resources: {{ include "common.resources" . | nindent 2 }} - {{- if or $logDir $certDir }} volumeMounts: + - mountPath: /app-config + name: app-config {{- if $logDir }} - mountPath: {{ $logDir}} name: component-log @@ -190,7 +191,6 @@ spec: - mountPath: {{ $certDir }} name: tls-info {{- end }} - {{- end }} {{- if $logDir }} - image: {{ include "repositoryGenerator.image.logging" . }} imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }} -- cgit 1.2.3-korg