blob: 6964d80c1c59957f3c806a5bd5c234286d3f0ae3 [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 Bainbridge2f9b76f2019-05-15 13:48:11 -070015
David Bainbridge60332ae2019-10-11 15:04:13 +000016# Default Values
17# The following are the default values used for every container in the
18# template.
David Bainbridgecd30e542019-05-31 20:52:56 +000019defaults:
Matteo Scandolo1d7ab922019-12-10 13:41:23 -080020 log_level: "WARN"
David Bainbridge5cb5d172019-07-24 02:30:19 +000021 image_registry: ''
Kent Hagerman42101a82019-06-12 12:52:39 -040022 image_org: "voltha/"
David Bainbridge60332ae2019-10-11 15:04:13 +000023 image_tag: ~
Kent Hagerman42101a82019-06-12 12:52:39 -040024 image_pullPolicy: "Always"
David Bainbridgecd30e542019-05-31 20:52:56 +000025 rw_core:
Matteo Scandolo41e9c132020-06-04 15:11:02 -070026 timeout: "10s"
serkant.uluderyaf1b8cc72020-05-13 23:26:51 -070027 topics:
28 core_topic: "rwcore"
Matteo Scandolo41e9c132020-06-04 15:11:02 -070029
serkant.uluderyaf1b8cc72020-05-13 23:26:51 -070030 # Define prefix path for etcd
Matteo Scandolo41e9c132020-06-04 15:11:02 -070031 # If you're running multiple voltha stacks the this value
serkant.uluderyaf1b8cc72020-05-13 23:26:51 -070032 # should be unique across the stacks.
33 kv_store_data_prefix: "service/voltha"
David Bainbridgecd30e542019-05-31 20:52:56 +000034
David Bainbridge8595b3b2020-06-05 12:23:05 -070035# Default security context under which the containers run
David Bainbridge16b19cc2020-05-29 11:50:44 -070036securityContext:
37 enabled: true
38 fsGroup: 1001
39 runAsUser: 1001
40 runAsGroup: 1001
David Bainbridge2f9b76f2019-05-15 13:48:11 -070041
42# Define connectivity to services on which VOLTHA depends
43services:
44 kafka:
45 adapter:
David Bainbridge16b19cc2020-05-29 11:50:44 -070046 service: kafka
David Bainbridge2f9b76f2019-05-15 13:48:11 -070047 port: 9092
48 cluster:
David Bainbridge16b19cc2020-05-29 11:50:44 -070049 service: kafka
David Bainbridge2f9b76f2019-05-15 13:48:11 -070050 port: 9092
51
52 # Define connectivity to etcd
53 etcd:
David Bainbridge16b19cc2020-05-29 11:50:44 -070054 service: etcd
David Bainbridge2f9b76f2019-05-15 13:48:11 -070055 port: 2379
56
Jonathan Hart3980b742020-04-20 11:00:54 -070057 # Define the list of controllers to connect to
David Bainbridge2f9b76f2019-05-15 13:48:11 -070058 controller:
David Bainbridge16b19cc2020-05-29 11:50:44 -070059 - service: onos-openflow
Jonathan Hart3980b742020-04-20 11:00:54 -070060 port: 6653
David Bainbridge2f9b76f2019-05-15 13:48:11 -070061
Matteo Scandoloe9a01f72020-05-05 09:33:59 -070062# Expose the golang pprof webserver, if enabled
63profiler:
64 enabled: false
65
David Bainbridge2f9b76f2019-05-15 13:48:11 -070066# Define the recplica count for everything
67replicas:
68 # For R/W cores the templates translate the number of replicas
69 # into the number of RW core pairs with two pods per pair
70 rw_core: 1
71
72 # For everything else replicas are replicas
David Bainbridge2f9b76f2019-05-15 13:48:11 -070073 ofagent: 1
David Bainbridge2f9b76f2019-05-15 13:48:11 -070074
David Bainbridgecd30e542019-05-31 20:52:56 +000075rw_core:
David Bainbridge50cb1ef2019-07-23 22:36:17 +000076 log_level: '{{ .Values.defaults.log_level }}'
Kent Hagerman42101a82019-06-12 12:52:39 -040077 core_timeout: '{{ .Values.defaults.rw_core.timeout }}'
78 timeout_long_request: '{{ .Values.defaults.rw_core.timeout }}'
79 timeout_request: '{{ .Values.defaults.rw_core.timeout }}'
David Bainbridgecd30e542019-05-31 20:52:56 +000080
David K. Bainbridge707022f2020-01-23 14:15:07 -080081ofagent:
hwchiuea1fb4d2020-02-11 19:50:14 +000082 log_level: '{{ .Values.defaults.log_level }}'
David K. Bainbridge707022f2020-01-23 14:15:07 -080083
David Bainbridge2f9b76f2019-05-15 13:48:11 -070084# Define Docker images to be used
85images:
David Bainbridge60018ec2020-06-02 13:32:30 -070086 ofagent:
Matteo Scandoloccea27b2020-03-18 15:25:05 -070087 registry: '{{ .Values.defaults.image_registry }}'
Matteo Scandolofc5661e2020-03-23 11:38:15 -070088 repository: '{{ .Values.defaults.image_org }}voltha-ofagent-go'
Neha Sharmae5767ea2020-04-08 13:39:57 +000089 tag: '{{- if hasKey .Values.defaults "image_tag" }}{{- if .Values.defaults.image_tag }}{{ .Values.defaults.image_tag }}{{- else }}1.2.0{{- end }}{{- else }}1.2.0{{- end }}'
Matteo Scandoloccea27b2020-03-18 15:25:05 -070090 pullPolicy: '{{ .Values.defaults.image_pullPolicy }}'
91
David Bainbridge2f9b76f2019-05-15 13:48:11 -070092 rw_core:
Kent Hagerman42101a82019-06-12 12:52:39 -040093 registry: '{{ .Values.defaults.image_registry }}'
94 repository: '{{ .Values.defaults.image_org }}voltha-rw-core'
Neha Sharmae5767ea2020-04-08 13:39:57 +000095 tag: '{{- if hasKey .Values.defaults "image_tag" }}{{- if .Values.defaults.image_tag }}{{ .Values.defaults.image_tag }}{{- else }}2.4.1{{- end }}{{- else }}2.4.1{{- end }}'
Kent Hagerman42101a82019-06-12 12:52:39 -040096 pullPolicy: '{{ .Values.defaults.image_pullPolicy }}'