blob: 8e9acc1febaddaa8f44833ef77b16361dc68ef07 [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---
David Bainbridge2bdd4302020-06-09 17:13:18 -070015nameOverride: ~
16fullNameOverride: ~
David Bainbridgecd30e542019-05-31 20:52:56 +000017
David Bainbridgecd30e542019-05-31 20:52:56 +000018# Default overrides
Matteo Scandolob4c5f4e2020-11-11 12:05:23 -080019global:
20 stack_name: voltha
Matteo Scandolo1d7ab922019-12-10 13:41:23 -080021 log_level: "WARN"
David Bainbridge5cb5d172019-07-24 02:30:19 +000022 image_registry: ""
Andy Bavier9a4566b2019-11-05 09:24:58 -070023 image_tag: ~
David Bainbridge5cb5d172019-07-24 02:30:19 +000024 image_org: "voltha/"
25 image_pullPolicy: "Always"
Andrea Campanella6838a802020-11-19 15:50:23 +010026 adapter_open_olt:
27 timeout: "5s"
Girish Gowdrae8c44bd2021-03-17 10:30:44 -070028 heartbeat_check_interval: "15s"
29 heartbeat_fail_interval: "31s"
David Bainbridge8595b3b2020-06-05 12:23:05 -070030
kesavand00d081e2020-08-31 11:47:44 +053031 #enable OMCC encryption
32 omcc_encryption: false
Gamze Abakaba10c7b2020-12-17 14:37:25 +000033 #enable ONU stats
34 enable_onu_stats: false
35 #enable GEM stats
36 enable_gem_stats: false
David Bainbridgecd30e542019-05-31 20:52:56 +000037
Matteo Scandolob4c5f4e2020-11-11 12:05:23 -080038 # Configure Log Correlation
39 log_correlation:
40 enabled: true
41
42 # Configure Tracing
43 tracing:
44 enabled: true
45
David Bainbridge8595b3b2020-06-05 12:23:05 -070046# Default security context under which the containers run
47securityContext:
48 enabled: true
49 fsGroup: 1001
50 runAsUser: 1001
51 runAsGroup: 1001
52
Girish Gowdra12231512020-06-29 13:00:48 -070053# Node Affinity Configuration
54nodeAffinityConfig:
55 enabled: false
56 node_label_key: "in-band"
57 node_label_value: "yes"
58
David Bainbridgecd30e542019-05-31 20:52:56 +000059# Define connectivity to required services
60services:
61 kafka:
62 adapter:
Neha Sharma1a3da1c2020-06-24 13:12:48 +000063 address: kafka:9092
David Bainbridgecd30e542019-05-31 20:52:56 +000064 cluster:
Neha Sharma1a3da1c2020-06-24 13:12:48 +000065 address: kafka:9092
Matteo Scandolo1d7ab922019-12-10 13:41:23 -080066
David Bainbridgecd30e542019-05-31 20:52:56 +000067 # Define connectivity to etcd
68 etcd:
Neha Sharma1a3da1c2020-06-24 13:12:48 +000069 address: etcd:2379
David Bainbridgecd30e542019-05-31 20:52:56 +000070
Girish Kumar877af922020-07-31 06:05:32 +000071 # Define Tracing Agent connection details
72 tracing_agent:
73 address: jaeger-agent:6831
74
Matteo Scandoloe9a01f72020-05-05 09:33:59 -070075# Expose the golang pprof webserver, if enabled
76profiler:
77 enabled: false
78
Girish Gowdrae8c44bd2021-03-17 10:30:44 -070079# Define the replica count for everything
David Bainbridgecd30e542019-05-31 20:52:56 +000080replicas:
serkant.uluderyaf1b8cc72020-05-13 23:26:51 -070081 current_replica: 1
82 total_replica: 1
David Bainbridgecd30e542019-05-31 20:52:56 +000083
Matteo Scandolo1d7ab922019-12-10 13:41:23 -080084adapter_open_olt:
Matteo Scandolob4c5f4e2020-11-11 12:05:23 -080085 log_level: '{{ .Values.global.log_level }}'
86 kv_store_timeout: '{{ .Values.global.adapter_open_olt.timeout }}'
87 kv_store_data_prefix: 'service/{{ .Values.global.stack_name }}_voltha'
Girish Gowdrae8c44bd2021-03-17 10:30:44 -070088 heartbeat_check_interval: '{{ .Values.global.adapter_open_olt.heartbeat_check_interval }}'
89 heartbeat_fail_interval: '{{ .Values.global.adapter_open_olt.heartbeat_fail_interval }}'
Matteo Scandolob4c5f4e2020-11-11 12:05:23 -080090 topics:
91 core_topic: "{{ .Values.global.stack_name }}_rwcore"
92 adapter_open_olt_topic: "{{ .Values.global.stack_name }}_openolt"
Matteo Scandolo06ee58c2021-05-26 15:28:51 -070093 event_topic: "voltha.events"
Matteo Scandolo1d7ab922019-12-10 13:41:23 -080094
David Bainbridgecd30e542019-05-31 20:52:56 +000095images:
96 adapter_open_olt:
Matteo Scandolob4c5f4e2020-11-11 12:05:23 -080097 registry: '{{ .Values.global.image_registry }}'
98 repository: '{{ .Values.global.image_org }}voltha-openolt-adapter'
99 tag: '{{- if hasKey .Values.global "image_tag" }}{{- if .Values.global.image_tag }}{{ .Values.global.image_tag }}{{- else }}{{ .Chart.AppVersion }}{{- end }}{{- else }}{{ .Chart.AppVersion }}{{- end }}'
100 pullPolicy: '{{ .Values.global.image_pullPolicy | default "Always" }}'