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 | --- |
Holger Hildebrandt | b67c330 | 2020-02-25 13:48:59 +0000 | [diff] [blame] | 15 | |
David Bainbridge | 2bdd430 | 2020-06-09 17:13:18 -0700 | [diff] [blame] | 16 | nameOverride: ~ |
| 17 | fullNameOverride: ~ |
| 18 | |
David Bainbridge | cd30e54 | 2019-05-31 20:52:56 +0000 | [diff] [blame] | 19 | # Default overrides |
Matteo Scandolo | b4c5f4e | 2020-11-11 12:05:23 -0800 | [diff] [blame] | 20 | global: |
| 21 | stack_name: voltha |
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" |
Holger Hildebrandt | ade635b | 2021-02-18 16:28:39 +0000 | [diff] [blame] | 31 | # timeout for ONU reconciling |
| 32 | max_timeout_reconciling: "10s" |
Girish Gowdra | a453506 | 2021-03-09 13:21:58 -0800 | [diff] [blame] | 33 | # timeout for OMCI channel |
| 34 | omci_timeout: "3s" |
Andrea Campanella | 6838a80 | 2020-11-19 15:50:23 +0100 | [diff] [blame] | 35 | # kv store timeout |
| 36 | adapter_open_onu: |
| 37 | timeout: "5s" |
Matteo Scandolo | b4c5f4e | 2020-11-11 12:05:23 -0800 | [diff] [blame] | 38 | # Configure Log Correlation |
| 39 | log_correlation: |
| 40 | enabled: true |
| 41 | # Configure Tracing |
| 42 | tracing: |
| 43 | enabled: true |
Holger Hildebrandt | 29c63c9 | 2021-02-05 14:58:50 +0000 | [diff] [blame] | 44 | # Configure Performance Metrics |
Girish Gowdra | e05c018 | 2021-01-28 15:02:37 -0800 | [diff] [blame] | 45 | metrics: |
| 46 | enabled: true |
Holger Hildebrandt | 29c63c9 | 2021-02-05 14:58:50 +0000 | [diff] [blame] | 47 | # Configure Mib Audit |
| 48 | mib_audit: |
| 49 | # configure "0s" to disable Mib Audit |
| 50 | interval: 0s |
Himani Chawla | e345491 | 2021-03-15 19:23:49 +0530 | [diff] [blame] | 51 | alarm_audit: |
| 52 | # configure "0s" to disable omci alarm audit |
| 53 | interval: 300s |
Holger Hildebrandt | 29c63c9 | 2021-02-05 14:58:50 +0000 | [diff] [blame] | 54 | |
Matteo Scandolo | fcbb925 | 2020-11-19 12:19:02 -0800 | [diff] [blame] | 55 | |
David Bainbridge | 8595b3b | 2020-06-05 12:23:05 -0700 | [diff] [blame] | 56 | # Default security context under which the containers run |
| 57 | securityContext: |
| 58 | enabled: true |
| 59 | fsGroup: 1001 |
| 60 | runAsUser: 1001 |
| 61 | runAsGroup: 1001 |
| 62 | |
David Bainbridge | cd30e54 | 2019-05-31 20:52:56 +0000 | [diff] [blame] | 63 | # Define connectivity to required services |
| 64 | services: |
| 65 | kafka: |
| 66 | adapter: |
Matteo Scandolo | 1d80abd | 2021-01-28 11:30:12 -0800 | [diff] [blame] | 67 | address: kafka:9092 |
David Bainbridge | cd30e54 | 2019-05-31 20:52:56 +0000 | [diff] [blame] | 68 | cluster: |
Matteo Scandolo | 1d80abd | 2021-01-28 11:30:12 -0800 | [diff] [blame] | 69 | address: kafka:9092 |
Matteo Scandolo | e33ed15 | 2019-12-03 10:47:49 -0800 | [diff] [blame] | 70 | |
David Bainbridge | cd30e54 | 2019-05-31 20:52:56 +0000 | [diff] [blame] | 71 | # Define connectivity to etcd |
| 72 | etcd: |
Matteo Scandolo | 1d80abd | 2021-01-28 11:30:12 -0800 | [diff] [blame] | 73 | address: etcd:2379 |
David Bainbridge | cd30e54 | 2019-05-31 20:52:56 +0000 | [diff] [blame] | 74 | |
Matteo Scandolo | b4c5f4e | 2020-11-11 12:05:23 -0800 | [diff] [blame] | 75 | # Define Tracing Agent connection details |
| 76 | tracing_agent: |
| 77 | address: jaeger-agent:6831 |
| 78 | |
Andrea Campanella | aa46d3f | 2021-01-19 09:19:02 +0100 | [diff] [blame] | 79 | allowed_onu_vendors: |
| 80 | - OPEN |
| 81 | - ALCL |
| 82 | - BRCM |
| 83 | - TWSH |
| 84 | - ALPH |
| 85 | - ISKT |
| 86 | - SFAA |
| 87 | - BBSM |
| 88 | - SCOM |
| 89 | - ARPX |
| 90 | - DACM |
| 91 | - ERSN |
| 92 | - HWTC |
| 93 | - CIGG |
| 94 | - ADTN |
| 95 | - ARCA |
| 96 | - AVMG |
| 97 | |
Andrea Campanella | 7739aae | 2021-02-11 11:00:03 +0100 | [diff] [blame] | 98 | # Expose the golang pprof webserver, if enabled |
| 99 | profiler: |
| 100 | enabled: false |
| 101 | |
David Bainbridge | cd30e54 | 2019-05-31 20:52:56 +0000 | [diff] [blame] | 102 | # Define the recplica count for everything |
| 103 | replicas: |
| 104 | adapter_open_onu: 1 |
| 105 | |
Matteo Scandolo | e33ed15 | 2019-12-03 10:47:49 -0800 | [diff] [blame] | 106 | adapter_open_onu: |
Matteo Scandolo | b4c5f4e | 2020-11-11 12:05:23 -0800 | [diff] [blame] | 107 | log_level: '{{ .Values.global.log_level }}' |
| 108 | incremental_evto_update: '{{ .Values.global.incremental_evto_update }}' |
| 109 | max_timeout_interadapter_comm: '{{ .Values.global.max_timeout_interadapter_comm }}' |
Holger Hildebrandt | ade635b | 2021-02-18 16:28:39 +0000 | [diff] [blame] | 110 | max_timeout_reconciling: '{{ .Values.global.max_timeout_reconciling }}' |
Girish Gowdra | a453506 | 2021-03-09 13:21:58 -0800 | [diff] [blame] | 111 | omci_timeout: '{{ .Values.global.omci_timeout }}' |
Matteo Scandolo | b4c5f4e | 2020-11-11 12:05:23 -0800 | [diff] [blame] | 112 | kv_store_timeout: '{{ .Values.global.adapter_open_onu.timeout }}' |
| 113 | kv_store_data_prefix: 'service/{{ .Values.global.stack_name }}_voltha' |
Himani Chawla | e345491 | 2021-03-15 19:23:49 +0530 | [diff] [blame] | 114 | alarm_audit_interval: '{{ .Values.global.alarm_audit.interval }}' |
Matteo Scandolo | b4c5f4e | 2020-11-11 12:05:23 -0800 | [diff] [blame] | 115 | topics: |
| 116 | core_topic: "{{ .Values.global.stack_name }}_rwcore" |
| 117 | adapter_open_onu_topic: "{{ .Values.global.stack_name }}_brcm_openomci_onu" |
Matteo Scandolo | 06ee58c | 2021-05-26 15:28:51 -0700 | [diff] [blame] | 118 | event_topic: "voltha.events" |
Matteo Scandolo | e33ed15 | 2019-12-03 10:47:49 -0800 | [diff] [blame] | 119 | |
David Bainbridge | cd30e54 | 2019-05-31 20:52:56 +0000 | [diff] [blame] | 120 | images: |
Holger Hildebrandt | b67c330 | 2020-02-25 13:48:59 +0000 | [diff] [blame] | 121 | adapter_open_onu_go: |
Matteo Scandolo | b4c5f4e | 2020-11-11 12:05:23 -0800 | [diff] [blame] | 122 | registry: '{{ .Values.global.image_registry }}' |
| 123 | repository: '{{ .Values.global.image_org }}voltha-openonu-adapter-go' |
Matteo Scandolo | 14976fd | 2021-03-29 18:33:05 -0700 | [diff] [blame] | 124 | tag: '{{- if hasKey .Values.global "image_tag" }}{{- if .Values.global.image_tag }}{{ .Values.global.image_tag }}{{- else }}{{ .Chart.AppVersion }}{{- end }}{{- else }}{{ .Chart.AppVersion }}{{- end }}' |
Matteo Scandolo | b4c5f4e | 2020-11-11 12:05:23 -0800 | [diff] [blame] | 125 | pullPolicy: '{{ .Values.global.image_pullPolicy }}' |