diff options
author | 2019-02-21 20:03:49 +0000 | |
---|---|---|
committer | 2019-03-13 14:06:12 +0000 | |
commit | 76d4a8a72e72c46cca38f2f41b48c07a246c5341 (patch) | |
tree | ef5822f7163671b9056570f186d552966c1c7ed8 /kubernetes/pomba/charts/pomba-contextaggregator/templates | |
parent | 623e0f619da41a1cd4de18b0ae61b32e1408eff0 (diff) |
Add missing filebeat sidecars for Pomba
Change-Id: I5f2cf1d74d55df0002af75367042eaf795ea2e8c
Signed-off-by: jmac <james.macnider@amdocs.com>
Issue-ID: LOG-852
Diffstat (limited to 'kubernetes/pomba/charts/pomba-contextaggregator/templates')
-rwxr-xr-x | kubernetes/pomba/charts/pomba-contextaggregator/templates/deployment.yaml | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/kubernetes/pomba/charts/pomba-contextaggregator/templates/deployment.yaml b/kubernetes/pomba/charts/pomba-contextaggregator/templates/deployment.yaml index 33e82ea5dc..cbbe93d63c 100755 --- a/kubernetes/pomba/charts/pomba-contextaggregator/templates/deployment.yaml +++ b/kubernetes/pomba/charts/pomba-contextaggregator/templates/deployment.yaml @@ -102,6 +102,20 @@ spec: affinity: {{- toYaml .Values.affinity | indent 10 }} {{- end }} + + # Filebeat sidecar container + - name: {{ include "common.name" . }}-filebeat-onap + image: "{{ .Values.global.loggingRepository }}/{{ .Values.global.loggingImage }}" + imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }} + volumeMounts: + - name: {{ include "common.fullname" . }}-filebeat-conf + mountPath: /usr/share/filebeat/filebeat.yml + subPath: filebeat.yml + - name: {{ include "common.fullname" . }}-data-filebeat + mountPath: /usr/share/filebeat/data + - name: {{ include "common.fullname" . }}-logs + mountPath: /opt/app/logs + volumes: - name: localtime hostPath: @@ -116,6 +130,11 @@ spec: configMap: name: {{ include "common.fullname" . }}-pre-start-configmap defaultMode: 0777 + - name: {{ include "common.fullname" . }}-filebeat-conf + configMap: + name: {{ .Release.Name }}-pomba-filebeat-configmap + - name: {{ include "common.fullname" . }}-data-filebeat + emptyDir: {} - name: {{ include "common.fullname" . }}-logs emptyDir: {} - name: {{ include "common.fullname" . }}-log-conf |