Zack Williams | 3432b94 | 2018-04-24 17:46:41 -0700 | [diff] [blame] | 1 | {{- /* |
| 2 | Copyright 2017-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 | */ -}} |
| 16 | |
| 17 | {{- define "xos-tosca.config" }} |
| 18 | name: xos-tosca |
| 19 | gprc_endpoint: "xos-core" |
| 20 | local_cert: /usr/local/share/ca-certificates/local_certs.crt |
| 21 | logging: |
| 22 | version: 1 |
| 23 | handlers: |
| 24 | console: |
| 25 | class: logging.StreamHandler |
| 26 | file: |
| 27 | class: logging.handlers.RotatingFileHandler |
| 28 | filename: /var/log/xos.log |
| 29 | maxBytes: 10485760 |
| 30 | backupCount: 5 |
Zack Williams | 1125598 | 2018-08-27 14:22:55 -0700 | [diff] [blame] | 31 | kafka: |
Zack Williams | 7659cc9 | 2018-11-01 07:51:12 -0700 | [diff] [blame] | 32 | class: kafkaloghandler.KafkaLogHandler |
Zack Williams | 1125598 | 2018-08-27 14:22:55 -0700 | [diff] [blame] | 33 | bootstrap_servers: |
Matteo Scandolo | 46bcfd3 | 2018-12-17 10:51:38 -0800 | [diff] [blame^] | 34 | - {{ .Values.platformKafka }} |
Zack Williams | 1125598 | 2018-08-27 14:22:55 -0700 | [diff] [blame] | 35 | topic: xos.log.tosca |
Zack Williams | 3432b94 | 2018-04-24 17:46:41 -0700 | [diff] [blame] | 36 | loggers: |
Zack Williams | 7659cc9 | 2018-11-01 07:51:12 -0700 | [diff] [blame] | 37 | '': |
Zack Williams | 3432b94 | 2018-04-24 17:46:41 -0700 | [diff] [blame] | 38 | handlers: |
| 39 | - console |
| 40 | - file |
Zack Williams | 1125598 | 2018-08-27 14:22:55 -0700 | [diff] [blame] | 41 | - kafka |
Zack Williams | 3432b94 | 2018-04-24 17:46:41 -0700 | [diff] [blame] | 42 | level: DEBUG |
| 43 | {{- end }} |