blob: 62e81093a5ee5eb0e5e88cd9c48b080b1916ecc0 [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 Williams04764782018-12-20 18:02:44 -070023 {{- $data := dict "KafkaServer" (printf "%s.default:9092" .Values.kafkaReleaseName) "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 Williams04764782018-12-20 18:02:44 -070035{{- $data := dict "KafkaServer" (printf "%s.default:9092" .Values.kafkaReleaseName) "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 Williams04764782018-12-20 18:02:44 -070047{{- $data := dict "KafkaServer" (printf "%s.default:9092" .Values.kafkaReleaseName) "KafkaTopic" "ofagent" "loglevel" .Values.loglevel }}
Zack Williamsc8c32e02018-11-04 14:43:21 -070048{{ include "logconfig.yml" $data | indent 4 }}