Merge "[DCEAGEN] Add app-config volume mount to common dceagen2 template"
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>
Fri, 30 Apr 2021 06:03:04 +0000 (06:03 +0000)
committerGerrit Code Review <gerrit@onap.org>
Fri, 30 Apr 2021 06:03:04 +0000 (06:03 +0000)
kubernetes/dcaegen2-services/common/dcaegen2-services-common/templates/_deployment.tpl

index 94b6ace..80b4cbc 100644 (file)
@@ -225,8 +225,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
@@ -235,7 +236,6 @@ spec:
         - mountPath: {{ $certDir }}
           name: tls-info
         {{- end }}
-        {{- end }}
       {{- if $logDir }}
       - image: {{ include "repositoryGenerator.image.logging" . }}
         imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}