blob: 2ac4f8c51e48a4cde84cd6afd85e3bc607ede739 [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:
21 stack_name: voltha
Matteo Scandolo1d7ab922019-12-10 13:41:23 -080022 log_level: "WARN"
David Bainbridge5cb5d172019-07-24 02:30:19 +000023 image_registry: ""
Andy Bavier9a4566b2019-11-05 09:24:58 -070024 image_tag: ~
David Bainbridge5cb5d172019-07-24 02:30:19 +000025 image_org: "voltha/"
26 image_pullPolicy: "Always"
Girish Gowdra30e3ab02020-06-24 12:59:34 -070027 incremental_evto_update: False
Himani Chawla5a33c502020-09-25 13:08:33 +053028 # timeout for deadline for interadapter communication
29 # should be in format as expected by parseDuration golang.
30 max_timeout_interadapter_comm: "30s"
Holger Hildebrandtade635b2021-02-18 16:28:39 +000031 # timeout for ONU reconciling
32 max_timeout_reconciling: "10s"
Girish Gowdraa4535062021-03-09 13:21:58 -080033 # timeout for OMCI channel
Andrea Campanella6b7febc2021-07-16 18:48:03 +020034 omci_timeout: "1s"
Andrea Campanella6838a802020-11-19 15:50:23 +010035 # kv store timeout
36 adapter_open_onu:
37 timeout: "5s"
Matteo Scandolob4c5f4e2020-11-11 12:05:23 -080038 # Configure Log Correlation
39 log_correlation:
40 enabled: true
41 # Configure Tracing
42 tracing:
43 enabled: true
Holger Hildebrandt29c63c92021-02-05 14:58:50 +000044 # Configure Performance Metrics
Girish Gowdrae05c0182021-01-28 15:02:37 -080045 metrics:
46 enabled: true
Holger Hildebrandt29c63c92021-02-05 14:58:50 +000047 # Configure Mib Audit
48 mib_audit:
49 # configure "0s" to disable Mib Audit
50 interval: 0s
Himani Chawlae3454912021-03-15 19:23:49 +053051 alarm_audit:
52 # configure "0s" to disable omci alarm audit
53 interval: 300s
Holger Hildebrandt29c63c92021-02-05 14:58:50 +000054
Matteo Scandolofcbb9252020-11-19 12:19:02 -080055
David Bainbridge8595b3b2020-06-05 12:23:05 -070056# Default security context under which the containers run
57securityContext:
58 enabled: true
59 fsGroup: 1001
60 runAsUser: 1001
61 runAsGroup: 1001
62
David Bainbridgecd30e542019-05-31 20:52:56 +000063# Define connectivity to required services
64services:
65 kafka:
66 adapter:
Matteo Scandolo1d80abd2021-01-28 11:30:12 -080067 address: kafka:9092
David Bainbridgecd30e542019-05-31 20:52:56 +000068 cluster:
Matteo Scandolo1d80abd2021-01-28 11:30:12 -080069 address: kafka:9092
Matteo Scandoloe33ed152019-12-03 10:47:49 -080070
David Bainbridgecd30e542019-05-31 20:52:56 +000071 # Define connectivity to etcd
72 etcd:
Matteo Scandolo1d80abd2021-01-28 11:30:12 -080073 address: etcd:2379
David Bainbridgecd30e542019-05-31 20:52:56 +000074
Matteo Scandolob4c5f4e2020-11-11 12:05:23 -080075 # Define Tracing Agent connection details
76 tracing_agent:
77 address: jaeger-agent:6831
78
Andrea Campanellaaa46d3f2021-01-19 09:19:02 +010079allowed_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 Campanella7739aae2021-02-11 11:00:03 +010098# Expose the golang pprof webserver, if enabled
99profiler:
100 enabled: false
101
David Bainbridgecd30e542019-05-31 20:52:56 +0000102# Define the recplica count for everything
103replicas:
104 adapter_open_onu: 1
105
Matteo Scandoloe33ed152019-12-03 10:47:49 -0800106adapter_open_onu:
Matteo Scandolob4c5f4e2020-11-11 12:05:23 -0800107 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 Hildebrandtade635b2021-02-18 16:28:39 +0000110 max_timeout_reconciling: '{{ .Values.global.max_timeout_reconciling }}'
Girish Gowdraa4535062021-03-09 13:21:58 -0800111 omci_timeout: '{{ .Values.global.omci_timeout }}'
Matteo Scandolob4c5f4e2020-11-11 12:05:23 -0800112 kv_store_timeout: '{{ .Values.global.adapter_open_onu.timeout }}'
113 kv_store_data_prefix: 'service/{{ .Values.global.stack_name }}_voltha'
Himani Chawlae3454912021-03-15 19:23:49 +0530114 alarm_audit_interval: '{{ .Values.global.alarm_audit.interval }}'
Matteo Scandolo60b9c252021-06-10 17:21:08 +0200115 uni_port_mask: "0x0001"
Matteo Scandolob4c5f4e2020-11-11 12:05:23 -0800116 topics:
117 core_topic: "{{ .Values.global.stack_name }}_rwcore"
118 adapter_open_onu_topic: "{{ .Values.global.stack_name }}_brcm_openomci_onu"
Matteo Scandolo06ee58c2021-05-26 15:28:51 -0700119 event_topic: "voltha.events"
Matteo Scandoloe33ed152019-12-03 10:47:49 -0800120
David Bainbridgecd30e542019-05-31 20:52:56 +0000121images:
Holger Hildebrandtb67c3302020-02-25 13:48:59 +0000122 adapter_open_onu_go:
Matteo Scandolob4c5f4e2020-11-11 12:05:23 -0800123 registry: '{{ .Values.global.image_registry }}'
124 repository: '{{ .Values.global.image_org }}voltha-openonu-adapter-go'
Matteo Scandolo14976fd2021-03-29 18:33:05 -0700125 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 -0800126 pullPolicy: '{{ .Values.global.image_pullPolicy }}'
Andrey Pozolotin7e928a92021-08-13 12:37:24 +0200127
128resources:
129 requests:
130 cpu: 0.5
131 memory: 512Mi
132 limits:
133 cpu: ~
134 memory: ~