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 |
Matteo Scandolo | b4c5f4e | 2020-11-11 12:05:23 -0800 | [diff] [blame] | 21 | global: |
| 22 | stack_name: voltha |
Matteo Scandolo | 1d7ab92 | 2019-12-10 13:41:23 -0800 | [diff] [blame] | 23 | log_level: "WARN" |
David Bainbridge | 5cb5d17 | 2019-07-24 02:30:19 +0000 | [diff] [blame] | 24 | image_registry: "" |
Andy Bavier | 9a4566b | 2019-11-05 09:24:58 -0700 | [diff] [blame] | 25 | image_tag: ~ |
David Bainbridge | 5cb5d17 | 2019-07-24 02:30:19 +0000 | [diff] [blame] | 26 | image_org: "voltha/" |
| 27 | image_pullPolicy: "Always" |
Girish Gowdra | 30e3ab0 | 2020-06-24 12:59:34 -0700 | [diff] [blame] | 28 | incremental_evto_update: False |
Himani Chawla | 5a33c50 | 2020-09-25 13:08:33 +0530 | [diff] [blame] | 29 | # timeout for deadline for interadapter communication |
| 30 | # should be in format as expected by parseDuration golang. |
| 31 | max_timeout_interadapter_comm: "30s" |
Andrea Campanella | 6838a80 | 2020-11-19 15:50:23 +0100 | [diff] [blame] | 32 | # kv store timeout |
| 33 | adapter_open_onu: |
| 34 | timeout: "5s" |
Matteo Scandolo | b4c5f4e | 2020-11-11 12:05:23 -0800 | [diff] [blame] | 35 | # Configure Log Correlation |
| 36 | log_correlation: |
| 37 | enabled: true |
| 38 | # Configure Tracing |
| 39 | tracing: |
| 40 | enabled: true |
Holger Hildebrandt | 29c63c9 | 2021-02-05 14:58:50 +0000 | [diff] [blame^] | 41 | # Configure Performance Metrics |
Girish Gowdra | e05c018 | 2021-01-28 15:02:37 -0800 | [diff] [blame] | 42 | metrics: |
| 43 | enabled: true |
Holger Hildebrandt | 29c63c9 | 2021-02-05 14:58:50 +0000 | [diff] [blame^] | 44 | # Configure Mib Audit |
| 45 | mib_audit: |
| 46 | # configure "0s" to disable Mib Audit |
| 47 | interval: 0s |
| 48 | |
Matteo Scandolo | fcbb925 | 2020-11-19 12:19:02 -0800 | [diff] [blame] | 49 | |
David Bainbridge | 8595b3b | 2020-06-05 12:23:05 -0700 | [diff] [blame] | 50 | # Default security context under which the containers run |
| 51 | securityContext: |
| 52 | enabled: true |
| 53 | fsGroup: 1001 |
| 54 | runAsUser: 1001 |
| 55 | runAsGroup: 1001 |
| 56 | |
David Bainbridge | cd30e54 | 2019-05-31 20:52:56 +0000 | [diff] [blame] | 57 | # Define connectivity to required services |
| 58 | services: |
| 59 | kafka: |
| 60 | adapter: |
Matteo Scandolo | 1d80abd | 2021-01-28 11:30:12 -0800 | [diff] [blame] | 61 | address: kafka:9092 |
David Bainbridge | cd30e54 | 2019-05-31 20:52:56 +0000 | [diff] [blame] | 62 | cluster: |
Matteo Scandolo | 1d80abd | 2021-01-28 11:30:12 -0800 | [diff] [blame] | 63 | address: kafka:9092 |
Matteo Scandolo | e33ed15 | 2019-12-03 10:47:49 -0800 | [diff] [blame] | 64 | |
David Bainbridge | cd30e54 | 2019-05-31 20:52:56 +0000 | [diff] [blame] | 65 | # Define connectivity to etcd |
| 66 | etcd: |
Matteo Scandolo | 1d80abd | 2021-01-28 11:30:12 -0800 | [diff] [blame] | 67 | address: etcd:2379 |
David Bainbridge | cd30e54 | 2019-05-31 20:52:56 +0000 | [diff] [blame] | 68 | |
Matteo Scandolo | b4c5f4e | 2020-11-11 12:05:23 -0800 | [diff] [blame] | 69 | # Define Tracing Agent connection details |
| 70 | tracing_agent: |
| 71 | address: jaeger-agent:6831 |
| 72 | |
Andrea Campanella | aa46d3f | 2021-01-19 09:19:02 +0100 | [diff] [blame] | 73 | allowed_onu_vendors: |
| 74 | - OPEN |
| 75 | - ALCL |
| 76 | - BRCM |
| 77 | - TWSH |
| 78 | - ALPH |
| 79 | - ISKT |
| 80 | - SFAA |
| 81 | - BBSM |
| 82 | - SCOM |
| 83 | - ARPX |
| 84 | - DACM |
| 85 | - ERSN |
| 86 | - HWTC |
| 87 | - CIGG |
| 88 | - ADTN |
| 89 | - ARCA |
| 90 | - AVMG |
| 91 | |
David Bainbridge | cd30e54 | 2019-05-31 20:52:56 +0000 | [diff] [blame] | 92 | # Define the recplica count for everything |
| 93 | replicas: |
| 94 | adapter_open_onu: 1 |
| 95 | |
Matteo Scandolo | e33ed15 | 2019-12-03 10:47:49 -0800 | [diff] [blame] | 96 | adapter_open_onu: |
Matteo Scandolo | b4c5f4e | 2020-11-11 12:05:23 -0800 | [diff] [blame] | 97 | log_level: '{{ .Values.global.log_level }}' |
| 98 | incremental_evto_update: '{{ .Values.global.incremental_evto_update }}' |
| 99 | max_timeout_interadapter_comm: '{{ .Values.global.max_timeout_interadapter_comm }}' |
| 100 | kv_store_timeout: '{{ .Values.global.adapter_open_onu.timeout }}' |
| 101 | kv_store_data_prefix: 'service/{{ .Values.global.stack_name }}_voltha' |
| 102 | topics: |
| 103 | core_topic: "{{ .Values.global.stack_name }}_rwcore" |
| 104 | adapter_open_onu_topic: "{{ .Values.global.stack_name }}_brcm_openomci_onu" |
Matteo Scandolo | e33ed15 | 2019-12-03 10:47:49 -0800 | [diff] [blame] | 105 | |
David Bainbridge | cd30e54 | 2019-05-31 20:52:56 +0000 | [diff] [blame] | 106 | images: |
| 107 | adapter_open_onu: |
Matteo Scandolo | b4c5f4e | 2020-11-11 12:05:23 -0800 | [diff] [blame] | 108 | registry: '{{ .Values.global.image_registry }}' |
| 109 | repository: '{{ .Values.global.image_org }}voltha-openonu-adapter' |
Andrea Campanella | aa46d3f | 2021-01-19 09:19:02 +0100 | [diff] [blame] | 110 | tag: '{{- if hasKey .Values.global "image_tag" }}{{- if .Values.global.image_tag }}{{ .Values.global.image_tag }}{{- else }}2.7.0{{- end }}{{- else }}2.7.0{{- end }}' |
Matteo Scandolo | b4c5f4e | 2020-11-11 12:05:23 -0800 | [diff] [blame] | 111 | pullPolicy: '{{ .Values.global.image_pullPolicy }}' |
Holger Hildebrandt | b67c330 | 2020-02-25 13:48:59 +0000 | [diff] [blame] | 112 | adapter_open_onu_go: |
Matteo Scandolo | b4c5f4e | 2020-11-11 12:05:23 -0800 | [diff] [blame] | 113 | registry: '{{ .Values.global.image_registry }}' |
| 114 | repository: '{{ .Values.global.image_org }}voltha-openonu-adapter-go' |
Holger Hildebrandt | 29c63c9 | 2021-02-05 14:58:50 +0000 | [diff] [blame^] | 115 | tag: '{{- if hasKey .Values.global "image_tag" }}{{- if .Values.global.image_tag }}{{ .Values.global.image_tag }}{{- else }}1.2.1{{- end }}{{- else }}1.2.1{{- end }}' |
Matteo Scandolo | b4c5f4e | 2020-11-11 12:05:23 -0800 | [diff] [blame] | 116 | pullPolicy: '{{ .Values.global.image_pullPolicy }}' |