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: |
khenaidoo | 15c53fb | 2021-08-09 13:56:27 -0400 | [diff] [blame] | 21 | voltha_release_name: voltha |
Matteo Scandolo | b4c5f4e | 2020-11-11 12:05:23 -0800 | [diff] [blame] | 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" |
khenaidoo | 15c53fb | 2021-08-09 13:56:27 -0400 | [diff] [blame] | 28 | core_endpoint: "{{ .Values.global.voltha_release_name }}-{{ .Values.global.stack_name }}-core.{{ .Release.Namespace }}.svc:55558" |
Girish Gowdra | 30e3ab0 | 2020-06-24 12:59:34 -0700 | [diff] [blame] | 29 | incremental_evto_update: False |
Himani Chawla | 5a33c50 | 2020-09-25 13:08:33 +0530 | [diff] [blame] | 30 | # timeout for deadline for interadapter communication |
| 31 | # should be in format as expected by parseDuration golang. |
| 32 | max_timeout_interadapter_comm: "30s" |
Holger Hildebrandt | ade635b | 2021-02-18 16:28:39 +0000 | [diff] [blame] | 33 | # timeout for ONU reconciling |
| 34 | max_timeout_reconciling: "10s" |
Girish Gowdra | a453506 | 2021-03-09 13:21:58 -0800 | [diff] [blame] | 35 | # timeout for OMCI channel |
Holger Hildebrandt | bf70c6a | 2022-02-23 09:34:43 +0000 | [diff] [blame] | 36 | omci_timeout: "3s" |
khenaidoo | 15c53fb | 2021-08-09 13:56:27 -0400 | [diff] [blame] | 37 | # timeout for RPC request |
| 38 | rpc_timeout: "10s" |
Andrea Campanella | 6838a80 | 2020-11-19 15:50:23 +0100 | [diff] [blame] | 39 | # kv store timeout |
| 40 | adapter_open_onu: |
| 41 | timeout: "5s" |
Matteo Scandolo | b4c5f4e | 2020-11-11 12:05:23 -0800 | [diff] [blame] | 42 | # Configure Log Correlation |
| 43 | log_correlation: |
| 44 | enabled: true |
| 45 | # Configure Tracing |
| 46 | tracing: |
| 47 | enabled: true |
Holger Hildebrandt | 29c63c9 | 2021-02-05 14:58:50 +0000 | [diff] [blame] | 48 | # Configure Performance Metrics |
Girish Gowdra | e05c018 | 2021-01-28 15:02:37 -0800 | [diff] [blame] | 49 | metrics: |
| 50 | enabled: true |
Holger Hildebrandt | 80d1f0a | 2022-06-24 07:53:59 +0000 | [diff] [blame] | 51 | # Configure Extended OMCI Support |
| 52 | extended_omci_support: |
| 53 | enabled: false |
Holger Hildebrandt | 29c63c9 | 2021-02-05 14:58:50 +0000 | [diff] [blame] | 54 | # Configure Mib Audit |
| 55 | mib_audit: |
| 56 | # configure "0s" to disable Mib Audit |
| 57 | interval: 0s |
Himani Chawla | e345491 | 2021-03-15 19:23:49 +0530 | [diff] [blame] | 58 | alarm_audit: |
| 59 | # configure "0s" to disable omci alarm audit |
| 60 | interval: 300s |
Holger Hildebrandt | 29c63c9 | 2021-02-05 14:58:50 +0000 | [diff] [blame] | 61 | |
khenaidoo | 15c53fb | 2021-08-09 13:56:27 -0400 | [diff] [blame] | 62 | # Probe values |
| 63 | probe: |
| 64 | liveness: |
| 65 | initial_delay_seconds: 3 |
| 66 | period_seconds: 3 |
| 67 | readiness: |
| 68 | initial_delay_seconds: 3 |
| 69 | period_seconds: 3 |
Matteo Scandolo | fcbb925 | 2020-11-19 12:19:02 -0800 | [diff] [blame] | 70 | |
David Bainbridge | 8595b3b | 2020-06-05 12:23:05 -0700 | [diff] [blame] | 71 | # Default security context under which the containers run |
| 72 | securityContext: |
| 73 | enabled: true |
| 74 | fsGroup: 1001 |
| 75 | runAsUser: 1001 |
| 76 | runAsGroup: 1001 |
| 77 | |
David Bainbridge | cd30e54 | 2019-05-31 20:52:56 +0000 | [diff] [blame] | 78 | # Define connectivity to required services |
| 79 | services: |
| 80 | kafka: |
David Bainbridge | cd30e54 | 2019-05-31 20:52:56 +0000 | [diff] [blame] | 81 | cluster: |
Matteo Scandolo | 1d80abd | 2021-01-28 11:30:12 -0800 | [diff] [blame] | 82 | address: kafka:9092 |
Matteo Scandolo | e33ed15 | 2019-12-03 10:47:49 -0800 | [diff] [blame] | 83 | |
David Bainbridge | cd30e54 | 2019-05-31 20:52:56 +0000 | [diff] [blame] | 84 | # Define connectivity to etcd |
| 85 | etcd: |
Matteo Scandolo | 1d80abd | 2021-01-28 11:30:12 -0800 | [diff] [blame] | 86 | address: etcd:2379 |
David Bainbridge | cd30e54 | 2019-05-31 20:52:56 +0000 | [diff] [blame] | 87 | |
Matteo Scandolo | b4c5f4e | 2020-11-11 12:05:23 -0800 | [diff] [blame] | 88 | # Define Tracing Agent connection details |
| 89 | tracing_agent: |
| 90 | address: jaeger-agent:6831 |
| 91 | |
Andrea Campanella | aa46d3f | 2021-01-19 09:19:02 +0100 | [diff] [blame] | 92 | allowed_onu_vendors: |
| 93 | - OPEN |
| 94 | - ALCL |
| 95 | - BRCM |
| 96 | - TWSH |
| 97 | - ALPH |
| 98 | - ISKT |
| 99 | - SFAA |
| 100 | - BBSM |
| 101 | - SCOM |
| 102 | - ARPX |
| 103 | - DACM |
| 104 | - ERSN |
| 105 | - HWTC |
| 106 | - CIGG |
| 107 | - ADTN |
| 108 | - ARCA |
| 109 | - AVMG |
Andrea Campanella | 6f9653e | 2021-11-15 10:48:19 -0800 | [diff] [blame] | 110 | - ZYWN |
Andrea Campanella | aa46d3f | 2021-01-19 09:19:02 +0100 | [diff] [blame] | 111 | |
Andrea Campanella | 7739aae | 2021-02-11 11:00:03 +0100 | [diff] [blame] | 112 | # Expose the golang pprof webserver, if enabled |
| 113 | profiler: |
| 114 | enabled: false |
| 115 | |
David Bainbridge | cd30e54 | 2019-05-31 20:52:56 +0000 | [diff] [blame] | 116 | # Define the recplica count for everything |
| 117 | replicas: |
| 118 | adapter_open_onu: 1 |
| 119 | |
Matteo Scandolo | e33ed15 | 2019-12-03 10:47:49 -0800 | [diff] [blame] | 120 | adapter_open_onu: |
Matteo Scandolo | b4c5f4e | 2020-11-11 12:05:23 -0800 | [diff] [blame] | 121 | log_level: '{{ .Values.global.log_level }}' |
| 122 | incremental_evto_update: '{{ .Values.global.incremental_evto_update }}' |
| 123 | max_timeout_interadapter_comm: '{{ .Values.global.max_timeout_interadapter_comm }}' |
Holger Hildebrandt | ade635b | 2021-02-18 16:28:39 +0000 | [diff] [blame] | 124 | max_timeout_reconciling: '{{ .Values.global.max_timeout_reconciling }}' |
Girish Gowdra | a453506 | 2021-03-09 13:21:58 -0800 | [diff] [blame] | 125 | omci_timeout: '{{ .Values.global.omci_timeout }}' |
khenaidoo | 15c53fb | 2021-08-09 13:56:27 -0400 | [diff] [blame] | 126 | rpc_timeout: '{{ .Values.global.rpc_timeout }}' |
Matteo Scandolo | b4c5f4e | 2020-11-11 12:05:23 -0800 | [diff] [blame] | 127 | kv_store_timeout: '{{ .Values.global.adapter_open_onu.timeout }}' |
| 128 | kv_store_data_prefix: 'service/{{ .Values.global.stack_name }}_voltha' |
Himani Chawla | e345491 | 2021-03-15 19:23:49 +0530 | [diff] [blame] | 129 | alarm_audit_interval: '{{ .Values.global.alarm_audit.interval }}' |
Matteo Scandolo | 60b9c25 | 2021-06-10 17:21:08 +0200 | [diff] [blame] | 130 | uni_port_mask: "0x0001" |
khenaidoo | 15c53fb | 2021-08-09 13:56:27 -0400 | [diff] [blame] | 131 | endpoints: |
| 132 | address: '{{ template "fullname" . }}-api' |
| 133 | port: 50060 |
Matteo Scandolo | b4c5f4e | 2020-11-11 12:05:23 -0800 | [diff] [blame] | 134 | topics: |
Matteo Scandolo | 06ee58c | 2021-05-26 15:28:51 -0700 | [diff] [blame] | 135 | event_topic: "voltha.events" |
Matteo Scandolo | e33ed15 | 2019-12-03 10:47:49 -0800 | [diff] [blame] | 136 | |
David Bainbridge | cd30e54 | 2019-05-31 20:52:56 +0000 | [diff] [blame] | 137 | images: |
Holger Hildebrandt | b67c330 | 2020-02-25 13:48:59 +0000 | [diff] [blame] | 138 | adapter_open_onu_go: |
Matteo Scandolo | b4c5f4e | 2020-11-11 12:05:23 -0800 | [diff] [blame] | 139 | registry: '{{ .Values.global.image_registry }}' |
| 140 | repository: '{{ .Values.global.image_org }}voltha-openonu-adapter-go' |
Matteo Scandolo | 14976fd | 2021-03-29 18:33:05 -0700 | [diff] [blame] | 141 | 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] | 142 | pullPolicy: '{{ .Values.global.image_pullPolicy }}' |
Andrey Pozolotin | 7e928a9 | 2021-08-13 12:37:24 +0200 | [diff] [blame] | 143 | |
| 144 | resources: |
| 145 | requests: |
| 146 | cpu: 0.5 |
| 147 | memory: 512Mi |
| 148 | limits: |
| 149 | cpu: ~ |
| 150 | memory: ~ |
Andrey Pozolotin | da75c92 | 2021-08-24 17:41:08 +0200 | [diff] [blame] | 151 | |
| 152 | # Define scheduling rules for stack pods |
| 153 | scheduleRules: |
| 154 | preferStackPodsOnSameNode: false |
| 155 | preferStacksOnDifferentNodes: false |