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: | |
| 23 | {{- $data := dict "KafkaTopic" "vcore" }} |
| 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: | |
| 35 | {{- $data := dict "KafkaTopic" "netconf" }} |
| 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: | |
| 47 | {{- $data := dict "KafkaTopic" "ofagent" }} |
| 48 | {{ include "logconfig.yml" $data | indent 4 }} |