blob: c4cfabbf113989e3fb8c946d04aad5949e21d583 [file] [log] [blame]
{{- /*
# Copyright 2019-present Open Networking Foundation
#
# SPDX-License-Identifier: LicenseRef-ONF-Member-Only-1.0
*/ -}}
---
apiVersion: v1
kind: ConfigMap
metadata:
name: accelleran-cbrs-cu-{{ .Values.config.vranL3.instanceId }}-cm
labels:
{{ tuple "accelleran-cbrs-cu-cm" . | include "accelleran-cbrs-cu.metadata_labels" | indent 4 }}
data:
bootstrap: |
redis.hostname:{{ .Values.config.redis.hostName }}
redis.port:{{ .Values.config.redis.ports.redisPort.port }}
instance.filter:{{ .Values.config.vranL3.instanceId }}
zlog.conf: |
[global]
strict init = true
buffer min = {{ .Values.config.vranL3.zlogConf.bufferMin }}
buffer max = {{ .Values.config.vranL3.zlogConf.bufferMax }}
rotate lock file = /tmp/zlog.lock
[formats]
printf_format = "%d(%b %d %H:%M:%S).%ms %8.8H %m%n"
[rules]
user.* >stdout ;printf_format