diff options
author | Sylvain Desbureaux <sylvain.desbureaux@orange.com> | 2021-11-30 13:44:00 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2021-11-30 13:44:00 +0000 |
commit | 188e897b9d477f589033a4fc14ddbb1b9260cd35 (patch) | |
tree | bc449fde6695059060f45850a23cf277a61c44fa /kubernetes/multicloud/templates/deployment.yaml | |
parent | 8d304a4c6c6a1c0679c41aa6a51ad6fa60f7d391 (diff) | |
parent | 989c91ca903c686837fe890b76b2b6dd94b0f077 (diff) |
Merge "[MULTICLOUD] Use log template"
Diffstat (limited to 'kubernetes/multicloud/templates/deployment.yaml')
-rw-r--r-- | kubernetes/multicloud/templates/deployment.yaml | 20 |
1 files changed, 3 insertions, 17 deletions
diff --git a/kubernetes/multicloud/templates/deployment.yaml b/kubernetes/multicloud/templates/deployment.yaml index 34fe6224bc..53716e5f44 100644 --- a/kubernetes/multicloud/templates/deployment.yaml +++ b/kubernetes/multicloud/templates/deployment.yaml @@ -63,7 +63,7 @@ spec: imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }} name: {{ include "common.name" . }} volumeMounts: - - mountPath: /var/log/onap + - mountPath: "{{ .Values.log.path }}" name: framework-log - mountPath: /opt/multivimbroker/multivimbroker/pub/config/log.yml name: framework-logconfig @@ -89,17 +89,7 @@ spec: {{ end -}} # side car containers - - image: {{ include "repositoryGenerator.image.logging" . }} - imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }} - name: filebeat-onap - volumeMounts: - - mountPath: /usr/share/filebeat/filebeat.yml - name: filebeat-conf - subPath: filebeat.yml - - mountPath: /var/log/onap - name: framework-log - - mountPath: /usr/share/filebeat/data - name: framework-data-filebeat + {{ include "common.log.sidecar" . | nindent 5 }} serviceAccountName: {{ include "common.fullname" (dict "suffix" "read" "dot" . )}} volumes: - name: framework-log @@ -107,11 +97,7 @@ spec: - name: provider-plugin configMap: name: {{ include "common.fullname" . }}-provider-plugin-configmap - - name: framework-data-filebeat - emptyDir: {} - - name: filebeat-conf - configMap: - name: multicloud-filebeat-configmap + {{ include "common.log.volumes" . | nindent 5 }} - name: framework-logconfig configMap: name: {{ include "common.fullname" . }}-log-configmap |