summaryrefslogtreecommitdiffstats
path: root/kubernetes/dcaegen2-services
diff options
context:
space:
mode:
authorBartosz Gardziejewski <bartosz.gardziejewski@nokia.com>2021-04-21 12:08:50 +0200
committerSylvain Desbureaux <sylvain.desbureaux@orange.com>2021-04-29 15:06:26 +0000
commit4bb3da3dccebf6abdb390d80ac3c4e323ed43250 (patch)
tree48d1b4ffb3837aed59732b99a611c431c6d74e89 /kubernetes/dcaegen2-services
parent1b162638763115959a0960a1195618f571d5499b (diff)
[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 <bartosz.gardziejewski@nokia.com> Issue-ID: DCAEGEN2-2692 Change-Id: I414c44633f7dd1b0a37b135e5cbc2f2111494a0b
Diffstat (limited to 'kubernetes/dcaegen2-services')
-rw-r--r--kubernetes/dcaegen2-services/common/dcaegen2-services-common/templates/_deployment.tpl4
1 files changed, 2 insertions, 2 deletions
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 }}