blob: 09e39423bdc14b1f3c45e89a86717d82b06ea2f6 [file] [log] [blame]
David Bainbridge2f9b76f2019-05-15 13:48:11 -07001# 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 Bainbridge2f9b76f2019-05-15 13:48:11 -070017
David Bainbridge60332ae2019-10-11 15:04:13 +000018# Default Values
19# The following are the default values used for every container in the
20# template.
David Bainbridgecd30e542019-05-31 20:52:56 +000021defaults:
Matteo Scandolo1d7ab922019-12-10 13:41:23 -080022 log_level: "WARN"
David Bainbridge5cb5d172019-07-24 02:30:19 +000023 image_registry: ''
Kent Hagerman42101a82019-06-12 12:52:39 -040024 image_org: "voltha/"
David Bainbridge60332ae2019-10-11 15:04:13 +000025 image_tag: ~
Kent Hagerman42101a82019-06-12 12:52:39 -040026 image_pullPolicy: "Always"
David Bainbridgecd30e542019-05-31 20:52:56 +000027 rw_core:
Matteo Scandolo41e9c132020-06-04 15:11:02 -070028 timeout: "10s"
serkant.uluderyaf1b8cc72020-05-13 23:26:51 -070029 topics:
30 core_topic: "rwcore"
Matteo Scandolo41e9c132020-06-04 15:11:02 -070031
serkant.uluderyaf1b8cc72020-05-13 23:26:51 -070032 # Define prefix path for etcd
Matteo Scandolo41e9c132020-06-04 15:11:02 -070033 # If you're running multiple voltha stacks the this value
serkant.uluderyaf1b8cc72020-05-13 23:26:51 -070034 # should be unique across the stacks.
35 kv_store_data_prefix: "service/voltha"
David Bainbridgecd30e542019-05-31 20:52:56 +000036
David Bainbridge8595b3b2020-06-05 12:23:05 -070037# Default security context under which the containers run
David Bainbridge16b19cc2020-05-29 11:50:44 -070038securityContext:
39 enabled: true
40 fsGroup: 1001
41 runAsUser: 1001
42 runAsGroup: 1001
David Bainbridge2f9b76f2019-05-15 13:48:11 -070043
44# Define connectivity to services on which VOLTHA depends
45services:
46 kafka:
47 adapter:
Neha Sharma1a3da1c2020-06-24 13:12:48 +000048 address: kafka:9092
David Bainbridge2f9b76f2019-05-15 13:48:11 -070049 cluster:
Neha Sharma1a3da1c2020-06-24 13:12:48 +000050 address: kafka:9092
David Bainbridge2f9b76f2019-05-15 13:48:11 -070051
52 # Define connectivity to etcd
53 etcd:
Neha Sharma1a3da1c2020-06-24 13:12:48 +000054 address: etcd:2379
David Bainbridge2f9b76f2019-05-15 13:48:11 -070055
Girish Kumar877af922020-07-31 06:05:32 +000056 # Define Tracing Agent connection details
57 tracing_agent:
58 address: jaeger-agent:6831
59
Jonathan Hart3980b742020-04-20 11:00:54 -070060 # Define the list of controllers to connect to
David Bainbridge2f9b76f2019-05-15 13:48:11 -070061 controller:
Neha Sharma1a3da1c2020-06-24 13:12:48 +000062 - address: onos-openflow:6653
David Bainbridge2f9b76f2019-05-15 13:48:11 -070063
Matteo Scandoloe9a01f72020-05-05 09:33:59 -070064# Expose the golang pprof webserver, if enabled
65profiler:
66 enabled: false
67
Girish Kumar877af922020-07-31 06:05:32 +000068# Configure Log Correlation
69log_correlation:
70 enabled: true
71
72# Configure Tracing
73tracing:
74 enabled: false
75
76# Define the replica count for everything
David Bainbridge2f9b76f2019-05-15 13:48:11 -070077replicas:
78 # For R/W cores the templates translate the number of replicas
79 # into the number of RW core pairs with two pods per pair
80 rw_core: 1
81
82 # For everything else replicas are replicas
David Bainbridge2f9b76f2019-05-15 13:48:11 -070083 ofagent: 1
David Bainbridge2f9b76f2019-05-15 13:48:11 -070084
David Bainbridgecd30e542019-05-31 20:52:56 +000085rw_core:
David Bainbridge50cb1ef2019-07-23 22:36:17 +000086 log_level: '{{ .Values.defaults.log_level }}'
Kent Hagerman42101a82019-06-12 12:52:39 -040087 core_timeout: '{{ .Values.defaults.rw_core.timeout }}'
88 timeout_long_request: '{{ .Values.defaults.rw_core.timeout }}'
89 timeout_request: '{{ .Values.defaults.rw_core.timeout }}'
David Bainbridgecd30e542019-05-31 20:52:56 +000090
David K. Bainbridge707022f2020-01-23 14:15:07 -080091ofagent:
hwchiuea1fb4d2020-02-11 19:50:14 +000092 log_level: '{{ .Values.defaults.log_level }}'
David K. Bainbridge707022f2020-01-23 14:15:07 -080093
David Bainbridge2f9b76f2019-05-15 13:48:11 -070094# Define Docker images to be used
95images:
David Bainbridge60018ec2020-06-02 13:32:30 -070096 ofagent:
Matteo Scandoloccea27b2020-03-18 15:25:05 -070097 registry: '{{ .Values.defaults.image_registry }}'
Matteo Scandolofc5661e2020-03-23 11:38:15 -070098 repository: '{{ .Values.defaults.image_org }}voltha-ofagent-go'
Matteo Scandolo2f29c972020-09-11 15:57:08 -070099 tag: '{{- if hasKey .Values.defaults "image_tag" }}{{- if .Values.defaults.image_tag }}{{ .Values.defaults.image_tag }}{{- else }}1.3.1{{- end }}{{- else }}1.3.1{{- end }}'
Matteo Scandoloccea27b2020-03-18 15:25:05 -0700100 pullPolicy: '{{ .Values.defaults.image_pullPolicy }}'
101
David Bainbridge2f9b76f2019-05-15 13:48:11 -0700102 rw_core:
Kent Hagerman42101a82019-06-12 12:52:39 -0400103 registry: '{{ .Values.defaults.image_registry }}'
104 repository: '{{ .Values.defaults.image_org }}voltha-rw-core'
Matteo Scandolo2f29c972020-09-11 15:57:08 -0700105 tag: '{{- if hasKey .Values.defaults "image_tag" }}{{- if .Values.defaults.image_tag }}{{ .Values.defaults.image_tag }}{{- else }}2.5.3{{- end }}{{- else }}2.5.3{{- end }}'
Kent Hagerman42101a82019-06-12 12:52:39 -0400106 pullPolicy: '{{ .Values.defaults.image_pullPolicy }}'