blob: d72e734d67c3003582490aab1fa10d77a3ce2d44 [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
19defaults:
Matteo Scandolo1d7ab922019-12-10 13:41:23 -080020 log_level: "WARN"
David Bainbridge5cb5d172019-07-24 02:30:19 +000021 image_registry: ""
Andy Bavier9a4566b2019-11-05 09:24:58 -070022 image_tag: ~
David Bainbridge5cb5d172019-07-24 02:30:19 +000023 image_org: "voltha/"
24 image_pullPolicy: "Always"
Andrea Campanella6838a802020-11-19 15:50:23 +010025 adapter_open_olt:
26 timeout: "5s"
serkant.uluderyaf1b8cc72020-05-13 23:26:51 -070027 topics:
28 core_topic: "rwcore"
29 adapter_open_olt_topic: "openolt"
David Bainbridge8595b3b2020-06-05 12:23:05 -070030
serkant.uluderyaf1b8cc72020-05-13 23:26:51 -070031 # Define prefix path for etcd
David Bainbridge8595b3b2020-06-05 12:23:05 -070032 # If you're running multiple voltha stacks the this value
serkant.uluderyaf1b8cc72020-05-13 23:26:51 -070033 # should be unique across the stacks.
34 kv_store_data_prefix: "service/voltha"
kesavand00d081e2020-08-31 11:47:44 +053035 #enable OMCC encryption
36 omcc_encryption: false
David Bainbridgecd30e542019-05-31 20:52:56 +000037
David Bainbridge8595b3b2020-06-05 12:23:05 -070038# Default security context under which the containers run
39securityContext:
40 enabled: true
41 fsGroup: 1001
42 runAsUser: 1001
43 runAsGroup: 1001
44
Girish Gowdra12231512020-06-29 13:00:48 -070045# Node Affinity Configuration
46nodeAffinityConfig:
47 enabled: false
48 node_label_key: "in-band"
49 node_label_value: "yes"
50
David Bainbridgecd30e542019-05-31 20:52:56 +000051# Define connectivity to required services
52services:
53 kafka:
54 adapter:
Neha Sharma1a3da1c2020-06-24 13:12:48 +000055 address: kafka:9092
David Bainbridgecd30e542019-05-31 20:52:56 +000056 cluster:
Neha Sharma1a3da1c2020-06-24 13:12:48 +000057 address: kafka:9092
Matteo Scandolo1d7ab922019-12-10 13:41:23 -080058
David Bainbridgecd30e542019-05-31 20:52:56 +000059 # Define connectivity to etcd
60 etcd:
Neha Sharma1a3da1c2020-06-24 13:12:48 +000061 address: etcd:2379
David Bainbridgecd30e542019-05-31 20:52:56 +000062
Girish Kumar877af922020-07-31 06:05:32 +000063 # Define Tracing Agent connection details
64 tracing_agent:
65 address: jaeger-agent:6831
66
Matteo Scandoloe9a01f72020-05-05 09:33:59 -070067# Expose the golang pprof webserver, if enabled
68profiler:
69 enabled: false
70
Girish Kumar877af922020-07-31 06:05:32 +000071# Configure Log Correlation
72log_correlation:
73 enabled: true
74
75# Configure Tracing
76tracing:
77 enabled: true
78
David Bainbridgecd30e542019-05-31 20:52:56 +000079# Define the recplica count for everything
80replicas:
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:
85 log_level: '{{ .Values.defaults.log_level }}'
Andrea Campanella6838a802020-11-19 15:50:23 +010086 kv_store_timeout: '{{ .Values.defaults.adapter_open_olt.timeout }}'
Matteo Scandolo1d7ab922019-12-10 13:41:23 -080087
David Bainbridgecd30e542019-05-31 20:52:56 +000088images:
89 adapter_open_olt:
David Bainbridge5cb5d172019-07-24 02:30:19 +000090 registry: '{{ .Values.defaults.image_registry }}'
91 repository: '{{ .Values.defaults.image_org }}voltha-openolt-adapter'
Andy Bavier9a4566b2019-11-05 09:24:58 -070092 tag: '{{- if hasKey .Values.defaults "image_tag" }}{{- if .Values.defaults.image_tag }}{{ .Values.defaults.image_tag }}{{- else }}{{ .Chart.AppVersion }}{{- end }}{{- else }}{{ .Chart.AppVersion }}{{- end }}'
David Bainbridgecd30e542019-05-31 20:52:56 +000093 pullPolicy: '{{ .Values.defaults.image_pullPolicy | default "Always" }}'