summaryrefslogtreecommitdiffstats
path: root/kubernetes/portal/templates/configmap.yaml
diff options
context:
space:
mode:
authorMaciej Wereski <m.wereski@partner.samsung.com>2021-11-15 15:19:11 +0100
committerSylvain Desbureaux <sylvain.desbureaux@orange.com>2021-11-16 06:27:46 +0000
commitd5d4a852c0f3255e7578c81ddf1b53ccea5552eb (patch)
tree2a4d8e5b908b9fdde772b1c8c5bcbc2f9b568a7c /kubernetes/portal/templates/configmap.yaml
parentef30ef97fef8338720e3431b73a7b0e3e4cca575 (diff)
[PORTAL] 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: I7e8df12aaf8e68f12a56d097d8045eeb0924e428
Diffstat (limited to 'kubernetes/portal/templates/configmap.yaml')
-rw-r--r--kubernetes/portal/templates/configmap.yaml14
1 files changed, 1 insertions, 13 deletions
diff --git a/kubernetes/portal/templates/configmap.yaml b/kubernetes/portal/templates/configmap.yaml
index a474a6c3d3..681f24eff3 100644
--- a/kubernetes/portal/templates/configmap.yaml
+++ b/kubernetes/portal/templates/configmap.yaml
@@ -15,16 +15,4 @@
# limitations under the License.
*/}}
-apiVersion: v1
-kind: ConfigMap
-metadata:
- name: portal-filebeat
- 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/filebeat.yml").AsConfig . | indent 2 }}
-
+{{ include "common.log.configMap" . }}