Zack Williams | c8c32e0 | 2018-11-04 14:43:21 -0700 | [diff] [blame] | 1 | --- |
| 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. |
| 15 | apiVersion: v1 |
| 16 | kind: ConfigMap |
| 17 | metadata: |
| 18 | name: vcore-logconfig |
| 19 | namespace: {{ .Values.global.namespace }} |
| 20 | serviceAccountName: {{ .Values.global.namespace }}-serviceaccount |
| 21 | data: |
| 22 | logconfig: | |
Zack Williams | 0476478 | 2018-12-20 18:02:44 -0700 | [diff] [blame] | 23 | {{- $data := dict "KafkaServer" (printf "%s.default:9092" .Values.kafkaReleaseName) "KafkaTopic" "vcore" "loglevel" .Values.loglevel }} |
Zack Williams | c8c32e0 | 2018-11-04 14:43:21 -0700 | [diff] [blame] | 24 | {{ include "logconfig.yml" $data | indent 4 }} |
| 25 | |
| 26 | --- |
| 27 | apiVersion: v1 |
| 28 | kind: ConfigMap |
| 29 | metadata: |
| 30 | name: netconf-logconfig |
| 31 | namespace: {{ .Values.global.namespace }} |
| 32 | serviceAccountName: {{ .Values.global.namespace }}-serviceaccount |
| 33 | data: |
| 34 | logconfig: | |
Zack Williams | 0476478 | 2018-12-20 18:02:44 -0700 | [diff] [blame] | 35 | {{- $data := dict "KafkaServer" (printf "%s.default:9092" .Values.kafkaReleaseName) "KafkaTopic" "netconf" "loglevel" .Values.loglevel }} |
Zack Williams | c8c32e0 | 2018-11-04 14:43:21 -0700 | [diff] [blame] | 36 | {{ include "logconfig.yml" $data | indent 4 }} |
| 37 | |
| 38 | --- |
| 39 | apiVersion: v1 |
| 40 | kind: ConfigMap |
| 41 | metadata: |
| 42 | name: ofagent-logconfig |
| 43 | namespace: {{ .Values.global.namespace }} |
| 44 | serviceAccountName: {{ .Values.global.namespace }}-serviceaccount |
| 45 | data: |
| 46 | logconfig: | |
Zack Williams | 0476478 | 2018-12-20 18:02:44 -0700 | [diff] [blame] | 47 | {{- $data := dict "KafkaServer" (printf "%s.default:9092" .Values.kafkaReleaseName) "KafkaTopic" "ofagent" "loglevel" .Values.loglevel }} |
Zack Williams | c8c32e0 | 2018-11-04 14:43:21 -0700 | [diff] [blame] | 48 | {{ include "logconfig.yml" $data | indent 4 }} |