summaryrefslogtreecommitdiffstats
path: root/kubernetes/clamp/charts/clamp-backend/templates/configmap.yaml
diff options
context:
space:
mode:
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>2020-04-22 10:50:26 +0200
committerSylvain Desbureaux <sylvain.desbureaux@orange.com>2020-04-22 10:51:36 +0200
commit8c2a16283583a6e830bdf915bdbfee9f49b8b992 (patch)
treec0f42834ca36ff92a760cea0ea7b498d2b302aff /kubernetes/clamp/charts/clamp-backend/templates/configmap.yaml
parentf2556fe72a09071e50ac485dca9137aab9a4c6c5 (diff)
[CLAMP] use common templates for logs
Using the common templates for centralized logging. Issue-ID: OOM-2370 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: I4824e11bd2be971d15e3a39510f544d2c36b05fd
Diffstat (limited to 'kubernetes/clamp/charts/clamp-backend/templates/configmap.yaml')
-rw-r--r--kubernetes/clamp/charts/clamp-backend/templates/configmap.yaml15
1 files changed, 2 insertions, 13 deletions
diff --git a/kubernetes/clamp/charts/clamp-backend/templates/configmap.yaml b/kubernetes/clamp/charts/clamp-backend/templates/configmap.yaml
index 0011c6a6d4..f66312c741 100644
--- a/kubernetes/clamp/charts/clamp-backend/templates/configmap.yaml
+++ b/kubernetes/clamp/charts/clamp-backend/templates/configmap.yaml
@@ -26,16 +26,5 @@ metadata:
data:
{{ tpl (.Files.Glob "resources/config/*").AsConfig . | indent 2 }}
spring_application_json: {{ tpl .Values.config.springApplicationJson . | quote }}
----
-apiVersion: v1
-kind: ConfigMap
-metadata:
- name: {{ include "common.release" . }}-clamp-filebeat-configmap
- namespace: {{ include "common.namespace" . }}
- labels:
- app: {{ include "common.name" . }}
- chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
- release: {{ include "common.release" . }}
- heritage: {{ .Release.Service }}
-data:
-{{ tpl (.Files.Glob "resources/config/log/filebeat/*").AsConfig . | indent 2 }}
+
+{{ include "common.log.configMap" . }}