blob: bd30a4cba3f72fbb45a9ecad6546e53b514286aa [file] [log] [blame]
David Bainbridgecd30e542019-05-31 20:52:56 +00001# 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 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
Andrea Campanella6b7febc2021-07-16 18:48:03 +020036 omci_timeout: "1s"
khenaidoo15c53fb2021-08-09 13:56:27 -040037 # timeout for RPC request
38 rpc_timeout: "10s"
Andrea Campanella6838a802020-11-19 15:50:23 +010039 # kv store timeout
40 adapter_open_onu:
41 timeout: "5s"
Matteo Scandolob4c5f4e2020-11-11 12:05:23 -080042 # Configure Log Correlation
43 log_correlation:
44 enabled: true
45 # Configure Tracing
46 tracing:
47 enabled: true
Holger Hildebrandt29c63c92021-02-05 14:58:50 +000048 # Configure Performance Metrics
Girish Gowdrae05c0182021-01-28 15:02:37 -080049 metrics:
50 enabled: true
Holger Hildebrandt29c63c92021-02-05 14:58:50 +000051 # Configure Mib Audit
52 mib_audit:
53 # configure "0s" to disable Mib Audit
54 interval: 0s
Himani Chawlae3454912021-03-15 19:23:49 +053055 alarm_audit:
56 # configure "0s" to disable omci alarm audit
57 interval: 300s
Holger Hildebrandt29c63c92021-02-05 14:58:50 +000058
khenaidoo15c53fb2021-08-09 13:56:27 -040059# Probe values
60probe:
61 liveness:
62 initial_delay_seconds: 3
63 period_seconds: 3
64 readiness:
65 initial_delay_seconds: 3
66 period_seconds: 3
Matteo Scandolofcbb9252020-11-19 12:19:02 -080067
David Bainbridge8595b3b2020-06-05 12:23:05 -070068# Default security context under which the containers run
69securityContext:
70 enabled: true
71 fsGroup: 1001
72 runAsUser: 1001
73 runAsGroup: 1001
74
David Bainbridgecd30e542019-05-31 20:52:56 +000075# Define connectivity to required services
76services:
77 kafka:
David Bainbridgecd30e542019-05-31 20:52:56 +000078 cluster:
Matteo Scandolo1d80abd2021-01-28 11:30:12 -080079 address: kafka:9092
Matteo Scandoloe33ed152019-12-03 10:47:49 -080080
David Bainbridgecd30e542019-05-31 20:52:56 +000081 # Define connectivity to etcd
82 etcd:
Matteo Scandolo1d80abd2021-01-28 11:30:12 -080083 address: etcd:2379
David Bainbridgecd30e542019-05-31 20:52:56 +000084
Matteo Scandolob4c5f4e2020-11-11 12:05:23 -080085 # Define Tracing Agent connection details
86 tracing_agent:
87 address: jaeger-agent:6831
88
Andrea Campanellaaa46d3f2021-01-19 09:19:02 +010089allowed_onu_vendors:
90 - OPEN
91 - ALCL
92 - BRCM
93 - TWSH
94 - ALPH
95 - ISKT
96 - SFAA
97 - BBSM
98 - SCOM
99 - ARPX
100 - DACM
101 - ERSN
102 - HWTC
103 - CIGG
104 - ADTN
105 - ARCA
106 - AVMG
107
Andrea Campanella7739aae2021-02-11 11:00:03 +0100108# Expose the golang pprof webserver, if enabled
109profiler:
110 enabled: false
111
David Bainbridgecd30e542019-05-31 20:52:56 +0000112# Define the recplica count for everything
113replicas:
114 adapter_open_onu: 1
115
Matteo Scandoloe33ed152019-12-03 10:47:49 -0800116adapter_open_onu:
Matteo Scandolob4c5f4e2020-11-11 12:05:23 -0800117 log_level: '{{ .Values.global.log_level }}'
118 incremental_evto_update: '{{ .Values.global.incremental_evto_update }}'
119 max_timeout_interadapter_comm: '{{ .Values.global.max_timeout_interadapter_comm }}'
Holger Hildebrandtade635b2021-02-18 16:28:39 +0000120 max_timeout_reconciling: '{{ .Values.global.max_timeout_reconciling }}'
Girish Gowdraa4535062021-03-09 13:21:58 -0800121 omci_timeout: '{{ .Values.global.omci_timeout }}'
khenaidoo15c53fb2021-08-09 13:56:27 -0400122 rpc_timeout: '{{ .Values.global.rpc_timeout }}'
Matteo Scandolob4c5f4e2020-11-11 12:05:23 -0800123 kv_store_timeout: '{{ .Values.global.adapter_open_onu.timeout }}'
124 kv_store_data_prefix: 'service/{{ .Values.global.stack_name }}_voltha'
Himani Chawlae3454912021-03-15 19:23:49 +0530125 alarm_audit_interval: '{{ .Values.global.alarm_audit.interval }}'
Matteo Scandolo60b9c252021-06-10 17:21:08 +0200126 uni_port_mask: "0x0001"
khenaidoo15c53fb2021-08-09 13:56:27 -0400127 endpoints:
128 address: '{{ template "fullname" . }}-api'
129 port: 50060
Matteo Scandolob4c5f4e2020-11-11 12:05:23 -0800130 topics:
Matteo Scandolo06ee58c2021-05-26 15:28:51 -0700131 event_topic: "voltha.events"
Matteo Scandoloe33ed152019-12-03 10:47:49 -0800132
David Bainbridgecd30e542019-05-31 20:52:56 +0000133images:
Holger Hildebrandtb67c3302020-02-25 13:48:59 +0000134 adapter_open_onu_go:
Matteo Scandolob4c5f4e2020-11-11 12:05:23 -0800135 registry: '{{ .Values.global.image_registry }}'
136 repository: '{{ .Values.global.image_org }}voltha-openonu-adapter-go'
Matteo Scandolo14976fd2021-03-29 18:33:05 -0700137 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 -0800138 pullPolicy: '{{ .Values.global.image_pullPolicy }}'
Andrey Pozolotin7e928a92021-08-13 12:37:24 +0200139
140resources:
141 requests:
142 cpu: 0.5
143 memory: 512Mi
144 limits:
145 cpu: ~
146 memory: ~
Andrey Pozolotinda75c922021-08-24 17:41:08 +0200147
148# Define scheduling rules for stack pods
149scheduleRules:
150 preferStackPodsOnSameNode: false
151 preferStacksOnDifferentNodes: false