blob: 27ec38871e15a9ceea97fd8c7f8bc6b6d6712811 [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---
Matteo Scandoload3ae992020-12-09 09:33:43 -080015use_openonu_adapter_go: true
Holger Hildebrandtb67c3302020-02-25 13:48:59 +000016
David Bainbridge2bdd4302020-06-09 17:13:18 -070017nameOverride: ~
18fullNameOverride: ~
19
David Bainbridgecd30e542019-05-31 20:52:56 +000020# Default overrides
Matteo Scandolob4c5f4e2020-11-11 12:05:23 -080021global:
22 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"
Girish Gowdra30e3ab02020-06-24 12:59:34 -070028 incremental_evto_update: False
Himani Chawla5a33c502020-09-25 13:08:33 +053029 # timeout for deadline for interadapter communication
30 # should be in format as expected by parseDuration golang.
31 max_timeout_interadapter_comm: "30s"
Holger Hildebrandtade635b2021-02-18 16:28:39 +000032 # timeout for ONU reconciling
33 max_timeout_reconciling: "10s"
Girish Gowdraa4535062021-03-09 13:21:58 -080034 # timeout for OMCI channel
35 omci_timeout: "3s"
Andrea Campanella6838a802020-11-19 15:50:23 +010036 # kv store timeout
37 adapter_open_onu:
38 timeout: "5s"
Matteo Scandolob4c5f4e2020-11-11 12:05:23 -080039 # Configure Log Correlation
40 log_correlation:
41 enabled: true
42 # Configure Tracing
43 tracing:
44 enabled: true
Holger Hildebrandt29c63c92021-02-05 14:58:50 +000045 # Configure Performance Metrics
Girish Gowdrae05c0182021-01-28 15:02:37 -080046 metrics:
47 enabled: true
Holger Hildebrandt29c63c92021-02-05 14:58:50 +000048 # Configure Mib Audit
49 mib_audit:
50 # configure "0s" to disable Mib Audit
51 interval: 0s
Himani Chawlae3454912021-03-15 19:23:49 +053052 alarm_audit:
53 # configure "0s" to disable omci alarm audit
54 interval: 300s
Holger Hildebrandt29c63c92021-02-05 14:58:50 +000055
Matteo Scandolofcbb9252020-11-19 12:19:02 -080056
David Bainbridge8595b3b2020-06-05 12:23:05 -070057# Default security context under which the containers run
58securityContext:
59 enabled: true
60 fsGroup: 1001
61 runAsUser: 1001
62 runAsGroup: 1001
63
David Bainbridgecd30e542019-05-31 20:52:56 +000064# Define connectivity to required services
65services:
66 kafka:
67 adapter:
Matteo Scandolo1d80abd2021-01-28 11:30:12 -080068 address: kafka:9092
David Bainbridgecd30e542019-05-31 20:52:56 +000069 cluster:
Matteo Scandolo1d80abd2021-01-28 11:30:12 -080070 address: kafka:9092
Matteo Scandoloe33ed152019-12-03 10:47:49 -080071
David Bainbridgecd30e542019-05-31 20:52:56 +000072 # Define connectivity to etcd
73 etcd:
Matteo Scandolo1d80abd2021-01-28 11:30:12 -080074 address: etcd:2379
David Bainbridgecd30e542019-05-31 20:52:56 +000075
Matteo Scandolob4c5f4e2020-11-11 12:05:23 -080076 # Define Tracing Agent connection details
77 tracing_agent:
78 address: jaeger-agent:6831
79
Andrea Campanellaaa46d3f2021-01-19 09:19:02 +010080allowed_onu_vendors:
81 - OPEN
82 - ALCL
83 - BRCM
84 - TWSH
85 - ALPH
86 - ISKT
87 - SFAA
88 - BBSM
89 - SCOM
90 - ARPX
91 - DACM
92 - ERSN
93 - HWTC
94 - CIGG
95 - ADTN
96 - ARCA
97 - AVMG
98
Andrea Campanella7739aae2021-02-11 11:00:03 +010099# Expose the golang pprof webserver, if enabled
100profiler:
101 enabled: false
102
David Bainbridgecd30e542019-05-31 20:52:56 +0000103# Define the recplica count for everything
104replicas:
105 adapter_open_onu: 1
106
Matteo Scandoloe33ed152019-12-03 10:47:49 -0800107adapter_open_onu:
Matteo Scandolob4c5f4e2020-11-11 12:05:23 -0800108 log_level: '{{ .Values.global.log_level }}'
109 incremental_evto_update: '{{ .Values.global.incremental_evto_update }}'
110 max_timeout_interadapter_comm: '{{ .Values.global.max_timeout_interadapter_comm }}'
Holger Hildebrandtade635b2021-02-18 16:28:39 +0000111 max_timeout_reconciling: '{{ .Values.global.max_timeout_reconciling }}'
Girish Gowdraa4535062021-03-09 13:21:58 -0800112 omci_timeout: '{{ .Values.global.omci_timeout }}'
Matteo Scandolob4c5f4e2020-11-11 12:05:23 -0800113 kv_store_timeout: '{{ .Values.global.adapter_open_onu.timeout }}'
114 kv_store_data_prefix: 'service/{{ .Values.global.stack_name }}_voltha'
Himani Chawlae3454912021-03-15 19:23:49 +0530115 alarm_audit_interval: '{{ .Values.global.alarm_audit.interval }}'
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 Scandoloe33ed152019-12-03 10:47:49 -0800119
David Bainbridgecd30e542019-05-31 20:52:56 +0000120images:
121 adapter_open_onu:
Matteo Scandolob4c5f4e2020-11-11 12:05:23 -0800122 registry: '{{ .Values.global.image_registry }}'
123 repository: '{{ .Values.global.image_org }}voltha-openonu-adapter'
Andrea Campanellaaa46d3f2021-01-19 09:19:02 +0100124 tag: '{{- if hasKey .Values.global "image_tag" }}{{- if .Values.global.image_tag }}{{ .Values.global.image_tag }}{{- else }}2.7.0{{- end }}{{- else }}2.7.0{{- end }}'
Matteo Scandolob4c5f4e2020-11-11 12:05:23 -0800125 pullPolicy: '{{ .Values.global.image_pullPolicy }}'
Holger Hildebrandtb67c3302020-02-25 13:48:59 +0000126 adapter_open_onu_go:
Matteo Scandolob4c5f4e2020-11-11 12:05:23 -0800127 registry: '{{ .Values.global.image_registry }}'
128 repository: '{{ .Values.global.image_org }}voltha-openonu-adapter-go'
Himani Chawlae3454912021-03-15 19:23:49 +0530129 tag: '{{- if hasKey .Values.global "image_tag" }}{{- if .Values.global.image_tag }}{{ .Values.global.image_tag }}{{- else }}1.2.6{{- end }}{{- else }}1.2.6{{- end }}'
Matteo Scandolob4c5f4e2020-11-11 12:05:23 -0800130 pullPolicy: '{{ .Values.global.image_pullPolicy }}'