Hyunsun Moon | 887e3e6 | 2020-02-21 15:27:12 -0800 | [diff] [blame] | 1 | {{- /* |
| 2 | # Copyright 2020-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 | apiVersion: v1 |
| 18 | kind: ConfigMap |
| 19 | metadata: |
| 20 | name: deepstream |
| 21 | labels: |
| 22 | {{ tuple "deepstream" . | include "deepstream.metadata_labels" | indent 4 }} |
| 23 | data: |
| 24 | main_config.txt: | |
| 25 | {{ tuple "config/_main_config.txt.tpl" . | include "deepstream.template" | indent 4 }} |
| 26 | amqp_config.txt: | |
| 27 | {{ tuple "config/_amqp_config.txt.tpl" . | include "deepstream.template" | indent 4 }} |
| 28 | infer_config.txt: | |
| 29 | {{ .Files.Get "files/infer_config.txt" | indent 4 }} |
| 30 | msg_config.txt: | |
| 31 | {{ .Files.Get "files/msg_config.txt" | indent 4 }} |
| 32 | tracker_config.yml: | |
| 33 | {{ .Files.Get "files/tracker_config.yml" | indent 4 }} |