blob: 01ec31f3c692b8e2b6a592f61e7fa511a8f3917e [file] [log] [blame]
Zack Williamsc8c32e02018-11-04 14:43:21 -07001---
2# Copyright 2018-present Open Networking Foundation
3#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15apiVersion: v1
16kind: ConfigMap
17metadata:
18 name: vcore-logconfig
19 namespace: {{ .Values.global.namespace }}
20 serviceAccountName: {{ .Values.global.namespace }}-serviceaccount
21data:
22 logconfig: |
Zack Williams89998822018-11-19 14:54:13 -070023{{- $data := dict "KafkaTopic" "vcore" "loglevel" .Values.loglevel }}
Zack Williamsc8c32e02018-11-04 14:43:21 -070024{{ include "logconfig.yml" $data | indent 4 }}
25
26---
27apiVersion: v1
28kind: ConfigMap
29metadata:
30 name: netconf-logconfig
31 namespace: {{ .Values.global.namespace }}
32 serviceAccountName: {{ .Values.global.namespace }}-serviceaccount
33data:
34 logconfig: |
Zack Williams89998822018-11-19 14:54:13 -070035{{- $data := dict "KafkaTopic" "netconf" "loglevel" .Values.loglevel }}
Zack Williamsc8c32e02018-11-04 14:43:21 -070036{{ include "logconfig.yml" $data | indent 4 }}
37
38---
39apiVersion: v1
40kind: ConfigMap
41metadata:
42 name: ofagent-logconfig
43 namespace: {{ .Values.global.namespace }}
44 serviceAccountName: {{ .Values.global.namespace }}-serviceaccount
45data:
46 logconfig: |
Zack Williams89998822018-11-19 14:54:13 -070047{{- $data := dict "KafkaTopic" "ofagent" "loglevel" .Values.loglevel }}
Zack Williamsc8c32e02018-11-04 14:43:21 -070048{{ include "logconfig.yml" $data | indent 4 }}