David Bainbridge | cd30e54 | 2019-05-31 20:52:56 +0000 | [diff] [blame] | 1 | # Copyright 2019-present Open Networking Foundation |
| 2 | # |
| 3 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | # you may not use this file except in compliance with the License. |
| 5 | # You may obtain a copy of the License at |
| 6 | # |
| 7 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | # |
| 9 | # Unless required by applicable law or agreed to in writing, software |
| 10 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | # See the License for the specific language governing permissions and |
| 13 | # limitations under the License. |
David Bainbridge | 8595b3b | 2020-06-05 12:23:05 -0700 | [diff] [blame] | 14 | --- |
Matteo Scandolo | ad3ae99 | 2020-12-09 09:33:43 -0800 | [diff] [blame^] | 15 | use_openonu_adapter_go: true |
Holger Hildebrandt | b67c330 | 2020-02-25 13:48:59 +0000 | [diff] [blame] | 16 | |
David Bainbridge | 2bdd430 | 2020-06-09 17:13:18 -0700 | [diff] [blame] | 17 | nameOverride: ~ |
| 18 | fullNameOverride: ~ |
| 19 | |
David Bainbridge | cd30e54 | 2019-05-31 20:52:56 +0000 | [diff] [blame] | 20 | # Default overrides |
| 21 | defaults: |
Matteo Scandolo | 1d7ab92 | 2019-12-10 13:41:23 -0800 | [diff] [blame] | 22 | log_level: "WARN" |
David Bainbridge | 5cb5d17 | 2019-07-24 02:30:19 +0000 | [diff] [blame] | 23 | image_registry: "" |
Andy Bavier | 9a4566b | 2019-11-05 09:24:58 -0700 | [diff] [blame] | 24 | image_tag: ~ |
David Bainbridge | 5cb5d17 | 2019-07-24 02:30:19 +0000 | [diff] [blame] | 25 | image_org: "voltha/" |
| 26 | image_pullPolicy: "Always" |
Girish Gowdra | 30e3ab0 | 2020-06-24 12:59:34 -0700 | [diff] [blame] | 27 | incremental_evto_update: False |
Himani Chawla | 5a33c50 | 2020-09-25 13:08:33 +0530 | [diff] [blame] | 28 | # timeout for deadline for interadapter communication |
| 29 | # should be in format as expected by parseDuration golang. |
| 30 | max_timeout_interadapter_comm: "30s" |
Andrea Campanella | 6838a80 | 2020-11-19 15:50:23 +0100 | [diff] [blame] | 31 | # kv store timeout |
| 32 | adapter_open_onu: |
| 33 | timeout: "5s" |
serkant.uluderya | f1b8cc7 | 2020-05-13 23:26:51 -0700 | [diff] [blame] | 34 | topics: |
| 35 | core_topic: "rwcore" |
| 36 | adapter_open_onu_topic: "brcm_openomci_onu" |
| 37 | adapter_open_olt_topic: "openolt" |
David Bainbridge | cd30e54 | 2019-05-31 20:52:56 +0000 | [diff] [blame] | 38 | |
Matteo Scandolo | fcbb925 | 2020-11-19 12:19:02 -0800 | [diff] [blame] | 39 | # Define prefix path for etcd |
| 40 | # If you're running multiple voltha stacks the this value |
| 41 | # should be unique across the stacks. |
| 42 | kv_store_data_prefix: "service/voltha" |
| 43 | |
David Bainbridge | 8595b3b | 2020-06-05 12:23:05 -0700 | [diff] [blame] | 44 | # Default security context under which the containers run |
| 45 | securityContext: |
| 46 | enabled: true |
| 47 | fsGroup: 1001 |
| 48 | runAsUser: 1001 |
| 49 | runAsGroup: 1001 |
| 50 | |
David Bainbridge | cd30e54 | 2019-05-31 20:52:56 +0000 | [diff] [blame] | 51 | # Define connectivity to required services |
| 52 | services: |
| 53 | kafka: |
| 54 | adapter: |
David Bainbridge | 8595b3b | 2020-06-05 12:23:05 -0700 | [diff] [blame] | 55 | service: kafka |
David Bainbridge | cd30e54 | 2019-05-31 20:52:56 +0000 | [diff] [blame] | 56 | port: 9092 |
| 57 | cluster: |
David Bainbridge | 8595b3b | 2020-06-05 12:23:05 -0700 | [diff] [blame] | 58 | service: kafka |
David Bainbridge | cd30e54 | 2019-05-31 20:52:56 +0000 | [diff] [blame] | 59 | port: 9092 |
Matteo Scandolo | e33ed15 | 2019-12-03 10:47:49 -0800 | [diff] [blame] | 60 | |
David Bainbridge | cd30e54 | 2019-05-31 20:52:56 +0000 | [diff] [blame] | 61 | # Define connectivity to etcd |
| 62 | etcd: |
David Bainbridge | 8595b3b | 2020-06-05 12:23:05 -0700 | [diff] [blame] | 63 | service: etcd |
David Bainbridge | cd30e54 | 2019-05-31 20:52:56 +0000 | [diff] [blame] | 64 | port: 2379 |
| 65 | |
| 66 | # Define the recplica count for everything |
| 67 | replicas: |
| 68 | adapter_open_onu: 1 |
| 69 | |
Matteo Scandolo | e33ed15 | 2019-12-03 10:47:49 -0800 | [diff] [blame] | 70 | adapter_open_onu: |
Matteo Scandolo | 1d7ab92 | 2019-12-10 13:41:23 -0800 | [diff] [blame] | 71 | log_level: '{{ .Values.defaults.log_level }}' |
Girish Gowdra | 30e3ab0 | 2020-06-24 12:59:34 -0700 | [diff] [blame] | 72 | incremental_evto_update: '{{ .Values.defaults.incremental_evto_update }}' |
Himani Chawla | 5a33c50 | 2020-09-25 13:08:33 +0530 | [diff] [blame] | 73 | max_timeout_interadapter_comm: '{{ .Values.defaults.max_timeout_interadapter_comm }}' |
Andrea Campanella | 6838a80 | 2020-11-19 15:50:23 +0100 | [diff] [blame] | 74 | kv_store_timeout: '{{ .Values.defaults.adapter_open_onu.timeout }}' |
Matteo Scandolo | e33ed15 | 2019-12-03 10:47:49 -0800 | [diff] [blame] | 75 | |
David Bainbridge | cd30e54 | 2019-05-31 20:52:56 +0000 | [diff] [blame] | 76 | images: |
| 77 | adapter_open_onu: |
David Bainbridge | 5cb5d17 | 2019-07-24 02:30:19 +0000 | [diff] [blame] | 78 | registry: '{{ .Values.defaults.image_registry }}' |
| 79 | repository: '{{ .Values.defaults.image_org }}voltha-openonu-adapter' |
Matteo Scandolo | 2f29c97 | 2020-09-11 15:57:08 -0700 | [diff] [blame] | 80 | tag: '{{- if hasKey .Values.defaults "image_tag" }}{{- if .Values.defaults.image_tag }}{{ .Values.defaults.image_tag }}{{- else }}2.5.0{{- end }}{{- else }}2.5.0{{- end }}' |
David Bainbridge | 5cb5d17 | 2019-07-24 02:30:19 +0000 | [diff] [blame] | 81 | pullPolicy: '{{ .Values.defaults.image_pullPolicy }}' |
Holger Hildebrandt | b67c330 | 2020-02-25 13:48:59 +0000 | [diff] [blame] | 82 | adapter_open_onu_go: |
Matteo Scandolo | efcb439 | 2020-11-17 10:21:02 -0800 | [diff] [blame] | 83 | registry: '{{ .Values.defaults.image_registry }}' |
Holger Hildebrandt | b67c330 | 2020-02-25 13:48:59 +0000 | [diff] [blame] | 84 | repository: '{{ .Values.defaults.image_org }}voltha-openonu-adapter-go' |
Matteo Scandolo | 4f6d59a | 2020-03-25 10:37:18 -0700 | [diff] [blame] | 85 | tag: '{{- if hasKey .Values.defaults "image_tag" }}{{- if .Values.defaults.image_tag }}{{ .Values.defaults.image_tag }}{{- else }}master{{- end }}{{- else }}master{{- end }}' |
Zack Williams | c6202fe | 2020-03-26 10:55:40 -0700 | [diff] [blame] | 86 | pullPolicy: '{{ .Values.defaults.image_pullPolicy }}' |