diff options
author | Maciej Wereski <m.wereski@partner.samsung.com> | 2021-11-03 13:31:44 +0000 |
---|---|---|
committer | Maciej Wereski <m.wereski@partner.samsung.com> | 2021-11-08 17:57:14 +0100 |
commit | 537d71ef31d04ddaff0acf862bcf62b809fb8bd3 (patch) | |
tree | 769d86d2fa84e925996d8f0814efac2347a8145a /kubernetes/sdnc/templates/configmap.yaml | |
parent | d5ae6db805736529090f08955e5a9730e0cdadb3 (diff) |
[SDNC] Use log template
Ability to turn off filebeat is needed as it is being deprecated. To
achieve that existing log helper template is used.
Issue-ID: OOM-1
Signed-off-by: Maciej Wereski <m.wereski@partner.samsung.com>
Change-Id: I92749a252a7983f12c3136e996eb7f2e29f1e69d
Diffstat (limited to 'kubernetes/sdnc/templates/configmap.yaml')
-rw-r--r-- | kubernetes/sdnc/templates/configmap.yaml | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/kubernetes/sdnc/templates/configmap.yaml b/kubernetes/sdnc/templates/configmap.yaml index 087ed30055..acbcb63e4f 100644 --- a/kubernetes/sdnc/templates/configmap.yaml +++ b/kubernetes/sdnc/templates/configmap.yaml @@ -14,18 +14,7 @@ # limitations under the License. */}} -apiVersion: v1 -kind: ConfigMap -metadata: - name: {{ include "common.fullname" . }}-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/log4j/*").AsConfig . | indent 2 }} +{{ include "common.log.configMap" . }} --- apiVersion: v1 kind: ConfigMap |