blob: 7087809aa75148dd913a9d1357041fb4ccdc3fd7 [file] [log] [blame]
Joey Armstrong6a104e92024-02-10 15:27:58 -05001# Copyright 2019-2024 Open Networking Foundation (ONF) and the ONF Contributors
David Bainbridgecd30e542019-05-31 20:52:56 +00002#
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 Bainbridge8595b3b2020-06-05 12:23:05 -070014---
Holger Hildebrandtb67c3302020-02-25 13:48:59 +000015
David Bainbridge2bdd4302020-06-09 17:13:18 -070016nameOverride: ~
17fullNameOverride: ~
18
David Bainbridgecd30e542019-05-31 20:52:56 +000019# Default overrides
Matteo Scandolob4c5f4e2020-11-11 12:05:23 -080020global:
khenaidoo15c53fb2021-08-09 13:56:27 -040021 voltha_release_name: voltha
Matteo Scandolob4c5f4e2020-11-11 12:05:23 -080022 stack_name: voltha
Matteo Scandolo1d7ab922019-12-10 13:41:23 -080023 log_level: "WARN"
David Bainbridge5cb5d172019-07-24 02:30:19 +000024 image_registry: ""
Andy Bavier9a4566b2019-11-05 09:24:58 -070025 image_tag: ~
David Bainbridge5cb5d172019-07-24 02:30:19 +000026 image_org: "voltha/"
27 image_pullPolicy: "Always"
khenaidoo15c53fb2021-08-09 13:56:27 -040028 core_endpoint: "{{ .Values.global.voltha_release_name }}-{{ .Values.global.stack_name }}-core.{{ .Release.Namespace }}.svc:55558"
Girish Gowdra30e3ab02020-06-24 12:59:34 -070029 incremental_evto_update: False
Himani Chawla5a33c502020-09-25 13:08:33 +053030 # timeout for deadline for interadapter communication
31 # should be in format as expected by parseDuration golang.
32 max_timeout_interadapter_comm: "30s"
Holger Hildebrandtade635b2021-02-18 16:28:39 +000033 # timeout for ONU reconciling
34 max_timeout_reconciling: "10s"
Girish Gowdraa4535062021-03-09 13:21:58 -080035 # timeout for OMCI channel
Holger Hildebrandtbf70c6a2022-02-23 09:34:43 +000036 omci_timeout: "3s"
khenaidoo15c53fb2021-08-09 13:56:27 -040037 # timeout for RPC request
38 rpc_timeout: "10s"
akashreddyk9a1c32e2025-09-23 09:27:06 +053039 # kafka producer max retry
40 producer_retry_max: "10"
41 # kafka metadata max retries
42 metadata_retry_max: "15"
Andrea Campanella6838a802020-11-19 15:50:23 +010043 # kv store timeout
44 adapter_open_onu:
45 timeout: "5s"
Matteo Scandolob4c5f4e2020-11-11 12:05:23 -080046 # Configure Log Correlation
47 log_correlation:
48 enabled: true
49 # Configure Tracing
50 tracing:
51 enabled: true
Holger Hildebrandt29c63c92021-02-05 14:58:50 +000052 # Configure Performance Metrics
Girish Gowdrae05c0182021-01-28 15:02:37 -080053 metrics:
54 enabled: true
Holger Hildebrandt80d1f0a2022-06-24 07:53:59 +000055 # Configure Extended OMCI Support
56 extended_omci_support:
57 enabled: false
Holger Hildebrandt29c63c92021-02-05 14:58:50 +000058 # Configure Mib Audit
59 mib_audit:
60 # configure "0s" to disable Mib Audit
61 interval: 0s
Himani Chawlae3454912021-03-15 19:23:49 +053062 alarm_audit:
63 # configure "0s" to disable omci alarm audit
64 interval: 300s
Praneeth Kumar Nalmas5cd48d72024-04-17 10:37:40 +053065 # Configure reconciling by skipping onu configuration by default
66 skip_onu_config:
67 enabled: false
Sridhar Ravindra42790b02025-08-04 16:57:28 +053068 # Check for device tech profile on ONU reboot and configure the device
69 check_device_tech_prof_on_reboot:
70 enabled: false
Praneeth Kumar Nalmas5cd48d72024-04-17 10:37:40 +053071
Holger Hildebrandt29c63c92021-02-05 14:58:50 +000072
khenaidoo15c53fb2021-08-09 13:56:27 -040073# Probe values
74probe:
75 liveness:
76 initial_delay_seconds: 3
77 period_seconds: 3
78 readiness:
79 initial_delay_seconds: 3
80 period_seconds: 3
Matteo Scandolofcbb9252020-11-19 12:19:02 -080081
David Bainbridge8595b3b2020-06-05 12:23:05 -070082# Default security context under which the containers run
83securityContext:
84 enabled: true
85 fsGroup: 1001
86 runAsUser: 1001
87 runAsGroup: 1001
88
David Bainbridgecd30e542019-05-31 20:52:56 +000089# Define connectivity to required services
90services:
91 kafka:
David Bainbridgecd30e542019-05-31 20:52:56 +000092 cluster:
Matteo Scandolo1d80abd2021-01-28 11:30:12 -080093 address: kafka:9092
Matteo Scandoloe33ed152019-12-03 10:47:49 -080094
David Bainbridgecd30e542019-05-31 20:52:56 +000095 # Define connectivity to etcd
abhaycd295062024-12-12 11:05:07 +053096 kvstore:
97 # type: etcd, redis or redis-sentinel
98 type: etcd
Matteo Scandolo1d80abd2021-01-28 11:30:12 -080099 address: etcd:2379
David Bainbridgecd30e542019-05-31 20:52:56 +0000100
Matteo Scandolob4c5f4e2020-11-11 12:05:23 -0800101 # Define Tracing Agent connection details
102 tracing_agent:
103 address: jaeger-agent:6831
104
Abhay Kumar2955cea2025-12-23 08:31:20 +0000105serviceMonitor:
106 enable: false
107
Andrea Campanellaaa46d3f2021-01-19 09:19:02 +0100108allowed_onu_vendors:
109 - OPEN
110 - ALCL
111 - BRCM
112 - TWSH
113 - ALPH
114 - ISKT
115 - SFAA
116 - BBSM
117 - SCOM
118 - ARPX
119 - DACM
120 - ERSN
121 - HWTC
122 - CIGG
123 - ADTN
124 - ARCA
125 - AVMG
Andrea Campanella6f9653e2021-11-15 10:48:19 -0800126 - ZYWN
Mahir Gunyel7e04d072023-12-22 09:22:56 -0800127 - ZYXE
128 - ZYSG
Andrea Campanellaaa46d3f2021-01-19 09:19:02 +0100129
Andrea Campanella7739aae2021-02-11 11:00:03 +0100130# Expose the golang pprof webserver, if enabled
131profiler:
132 enabled: false
133
David Bainbridgecd30e542019-05-31 20:52:56 +0000134# Define the recplica count for everything
135replicas:
136 adapter_open_onu: 1
137
Matteo Scandoloe33ed152019-12-03 10:47:49 -0800138adapter_open_onu:
Matteo Scandolob4c5f4e2020-11-11 12:05:23 -0800139 log_level: '{{ .Values.global.log_level }}'
140 incremental_evto_update: '{{ .Values.global.incremental_evto_update }}'
141 max_timeout_interadapter_comm: '{{ .Values.global.max_timeout_interadapter_comm }}'
Holger Hildebrandtade635b2021-02-18 16:28:39 +0000142 max_timeout_reconciling: '{{ .Values.global.max_timeout_reconciling }}'
Girish Gowdraa4535062021-03-09 13:21:58 -0800143 omci_timeout: '{{ .Values.global.omci_timeout }}'
khenaidoo15c53fb2021-08-09 13:56:27 -0400144 rpc_timeout: '{{ .Values.global.rpc_timeout }}'
Matteo Scandolob4c5f4e2020-11-11 12:05:23 -0800145 kv_store_timeout: '{{ .Values.global.adapter_open_onu.timeout }}'
146 kv_store_data_prefix: 'service/{{ .Values.global.stack_name }}_voltha'
Himani Chawlae3454912021-03-15 19:23:49 +0530147 alarm_audit_interval: '{{ .Values.global.alarm_audit.interval }}'
akashreddyk9a1c32e2025-09-23 09:27:06 +0530148 producer_retry_max : '{{ .Values.global.producer_retry_max }}'
149 metadata_retry_max : '{{ .Values.global.metadata_retry_max }}'
Matteo Scandolo60b9c252021-06-10 17:21:08 +0200150 uni_port_mask: "0x0001"
khenaidoo15c53fb2021-08-09 13:56:27 -0400151 endpoints:
152 address: '{{ template "fullname" . }}-api'
153 port: 50060
Matteo Scandolob4c5f4e2020-11-11 12:05:23 -0800154 topics:
Matteo Scandolo06ee58c2021-05-26 15:28:51 -0700155 event_topic: "voltha.events"
Matteo Scandoloe33ed152019-12-03 10:47:49 -0800156
David Bainbridgecd30e542019-05-31 20:52:56 +0000157images:
Holger Hildebrandtb67c3302020-02-25 13:48:59 +0000158 adapter_open_onu_go:
Matteo Scandolob4c5f4e2020-11-11 12:05:23 -0800159 registry: '{{ .Values.global.image_registry }}'
160 repository: '{{ .Values.global.image_org }}voltha-openonu-adapter-go'
Matteo Scandolo14976fd2021-03-29 18:33:05 -0700161 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 Scandolob4c5f4e2020-11-11 12:05:23 -0800162 pullPolicy: '{{ .Values.global.image_pullPolicy }}'
Andrey Pozolotin7e928a92021-08-13 12:37:24 +0200163
164resources:
165 requests:
166 cpu: 0.5
167 memory: 512Mi
168 limits:
169 cpu: ~
170 memory: ~
Andrey Pozolotinda75c922021-08-24 17:41:08 +0200171
172# Define scheduling rules for stack pods
173scheduleRules:
174 preferStackPodsOnSameNode: false
175 preferStacksOnDifferentNodes: false