blob: 3eb051dbc7bfe6365a56b3d2c3ccce8cd7f0a04b [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"
David Bainbridge8595b3b2020-06-05 12:23:05 -070028
kesavand00d081e2020-08-31 11:47:44 +053029 #enable OMCC encryption
30 omcc_encryption: false
David Bainbridgecd30e542019-05-31 20:52:56 +000031
Matteo Scandolob4c5f4e2020-11-11 12:05:23 -080032 # Configure Log Correlation
33 log_correlation:
34 enabled: true
35
36 # Configure Tracing
37 tracing:
38 enabled: true
39
David Bainbridge8595b3b2020-06-05 12:23:05 -070040# Default security context under which the containers run
41securityContext:
42 enabled: true
43 fsGroup: 1001
44 runAsUser: 1001
45 runAsGroup: 1001
46
Girish Gowdra12231512020-06-29 13:00:48 -070047# Node Affinity Configuration
48nodeAffinityConfig:
49 enabled: false
50 node_label_key: "in-band"
51 node_label_value: "yes"
52
David Bainbridgecd30e542019-05-31 20:52:56 +000053# Define connectivity to required services
54services:
55 kafka:
56 adapter:
Neha Sharma1a3da1c2020-06-24 13:12:48 +000057 address: kafka:9092
David Bainbridgecd30e542019-05-31 20:52:56 +000058 cluster:
Neha Sharma1a3da1c2020-06-24 13:12:48 +000059 address: kafka:9092
Matteo Scandolo1d7ab922019-12-10 13:41:23 -080060
David Bainbridgecd30e542019-05-31 20:52:56 +000061 # Define connectivity to etcd
62 etcd:
Neha Sharma1a3da1c2020-06-24 13:12:48 +000063 address: etcd:2379
David Bainbridgecd30e542019-05-31 20:52:56 +000064
Girish Kumar877af922020-07-31 06:05:32 +000065 # Define Tracing Agent connection details
66 tracing_agent:
67 address: jaeger-agent:6831
68
Matteo Scandoloe9a01f72020-05-05 09:33:59 -070069# Expose the golang pprof webserver, if enabled
70profiler:
71 enabled: false
72
David Bainbridgecd30e542019-05-31 20:52:56 +000073# Define the recplica count for everything
74replicas:
serkant.uluderyaf1b8cc72020-05-13 23:26:51 -070075 current_replica: 1
76 total_replica: 1
David Bainbridgecd30e542019-05-31 20:52:56 +000077
Matteo Scandolo1d7ab922019-12-10 13:41:23 -080078adapter_open_olt:
Matteo Scandolob4c5f4e2020-11-11 12:05:23 -080079 log_level: '{{ .Values.global.log_level }}'
80 kv_store_timeout: '{{ .Values.global.adapter_open_olt.timeout }}'
81 kv_store_data_prefix: 'service/{{ .Values.global.stack_name }}_voltha'
82 topics:
83 core_topic: "{{ .Values.global.stack_name }}_rwcore"
84 adapter_open_olt_topic: "{{ .Values.global.stack_name }}_openolt"
Matteo Scandolo1d7ab922019-12-10 13:41:23 -080085
David Bainbridgecd30e542019-05-31 20:52:56 +000086images:
87 adapter_open_olt:
Matteo Scandolob4c5f4e2020-11-11 12:05:23 -080088 registry: '{{ .Values.global.image_registry }}'
89 repository: '{{ .Values.global.image_org }}voltha-openolt-adapter'
90 tag: '{{- if hasKey .Values.global "image_tag" }}{{- if .Values.global.image_tag }}{{ .Values.global.image_tag }}{{- else }}{{ .Chart.AppVersion }}{{- end }}{{- else }}{{ .Chart.AppVersion }}{{- end }}'
91 pullPolicy: '{{ .Values.global.image_pullPolicy | default "Always" }}'