blob: c4cfabbf113989e3fb8c946d04aad5949e21d583 [file] [log] [blame]
Jeremy Ronquillo223db002020-06-05 10:28:22 -07001{{- /*
Jeremy Ronquilloec2d3e42020-06-05 11:33:39 -07002
Jeremy Ronquillo223db002020-06-05 10:28:22 -07003# Copyright 2019-present Open Networking Foundation
4#
Jeremy Ronquillo6046ce32020-06-18 11:06:29 -07005# SPDX-License-Identifier: LicenseRef-ONF-Member-Only-1.0
Jeremy Ronquilloec2d3e42020-06-05 11:33:39 -07006
Jeremy Ronquillo223db002020-06-05 10:28:22 -07007*/ -}}
8
9---
10apiVersion: v1
11kind: ConfigMap
12metadata:
13 name: accelleran-cbrs-cu-{{ .Values.config.vranL3.instanceId }}-cm
14 labels:
15{{ tuple "accelleran-cbrs-cu-cm" . | include "accelleran-cbrs-cu.metadata_labels" | indent 4 }}
16data:
17 bootstrap: |
18 redis.hostname:{{ .Values.config.redis.hostName }}
19 redis.port:{{ .Values.config.redis.ports.redisPort.port }}
20 instance.filter:{{ .Values.config.vranL3.instanceId }}
21
22 zlog.conf: |
23 [global]
24 strict init = true
25 buffer min = {{ .Values.config.vranL3.zlogConf.bufferMin }}
26 buffer max = {{ .Values.config.vranL3.zlogConf.bufferMax }}
27 rotate lock file = /tmp/zlog.lock
28
29 [formats]
30 printf_format = "%d(%b %d %H:%M:%S).%ms %8.8H %m%n"
31 [rules]
Jeremy Ronquillo6046ce32020-06-18 11:06:29 -070032 user.* >stdout ;printf_format