blob: ed99cbf2c3c54aa8ec7fb35acc5c1916128d2515 [file] [log] [blame]
Zack Williamsc6202fe2020-03-26 10:55:40 -07001---
David Bainbridge2f9b76f2019-05-15 13:48:11 -07002# Copyright 2019-present Open Networking Foundation
3#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15
Matteo Scandoloccea27b2020-03-18 15:25:05 -070016use_ofagent_go: true
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:
Kent Hagerman42101a82019-06-12 12:52:39 -040028 timeout: "8000"
David Bainbridgecd30e542019-05-31 20:52:56 +000029
David Bainbridge16b19cc2020-05-29 11:50:44 -070030securityContext:
31 enabled: true
32 fsGroup: 1001
33 runAsUser: 1001
34 runAsGroup: 1001
David Bainbridge2f9b76f2019-05-15 13:48:11 -070035
36# Define connectivity to services on which VOLTHA depends
37services:
38 kafka:
39 adapter:
David Bainbridge16b19cc2020-05-29 11:50:44 -070040 service: kafka
David Bainbridge2f9b76f2019-05-15 13:48:11 -070041 port: 9092
42 cluster:
David Bainbridge16b19cc2020-05-29 11:50:44 -070043 service: kafka
David Bainbridge2f9b76f2019-05-15 13:48:11 -070044 port: 9092
45
46 # Define connectivity to etcd
47 etcd:
David Bainbridge16b19cc2020-05-29 11:50:44 -070048 service: etcd
David Bainbridge2f9b76f2019-05-15 13:48:11 -070049 port: 2379
50
Jonathan Hart3980b742020-04-20 11:00:54 -070051 # Define the list of controllers to connect to
David Bainbridge2f9b76f2019-05-15 13:48:11 -070052 controller:
David Bainbridge16b19cc2020-05-29 11:50:44 -070053 - service: onos-openflow
Jonathan Hart3980b742020-04-20 11:00:54 -070054 port: 6653
David Bainbridge2f9b76f2019-05-15 13:48:11 -070055
Matteo Scandoloe9a01f72020-05-05 09:33:59 -070056# Expose the golang pprof webserver, if enabled
57profiler:
58 enabled: false
59
David Bainbridge2f9b76f2019-05-15 13:48:11 -070060# Define the recplica count for everything
61replicas:
62 # For R/W cores the templates translate the number of replicas
63 # into the number of RW core pairs with two pods per pair
64 rw_core: 1
65
66 # For everything else replicas are replicas
David Bainbridge2f9b76f2019-05-15 13:48:11 -070067 ofagent: 1
David Bainbridge2f9b76f2019-05-15 13:48:11 -070068
David Bainbridgecd30e542019-05-31 20:52:56 +000069rw_core:
David Bainbridge50cb1ef2019-07-23 22:36:17 +000070 log_level: '{{ .Values.defaults.log_level }}'
Kent Hagerman42101a82019-06-12 12:52:39 -040071 core_timeout: '{{ .Values.defaults.rw_core.timeout }}'
72 timeout_long_request: '{{ .Values.defaults.rw_core.timeout }}'
73 timeout_request: '{{ .Values.defaults.rw_core.timeout }}'
David Bainbridgecd30e542019-05-31 20:52:56 +000074
David K. Bainbridge707022f2020-01-23 14:15:07 -080075ofagent:
hwchiuea1fb4d2020-02-11 19:50:14 +000076 log_level: '{{ .Values.defaults.log_level }}'
David K. Bainbridge707022f2020-01-23 14:15:07 -080077
David Bainbridgecd30e542019-05-31 20:52:56 +000078
David Bainbridge2f9b76f2019-05-15 13:48:11 -070079# Define Docker images to be used
80images:
Matteo Scandoloccea27b2020-03-18 15:25:05 -070081 ofagent_go:
82 registry: '{{ .Values.defaults.image_registry }}'
Matteo Scandolofc5661e2020-03-23 11:38:15 -070083 repository: '{{ .Values.defaults.image_org }}voltha-ofagent-go'
Neha Sharmae5767ea2020-04-08 13:39:57 +000084 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 -070085 pullPolicy: '{{ .Values.defaults.image_pullPolicy }}'
86
87 ofagent_py:
Kent Hagerman42101a82019-06-12 12:52:39 -040088 registry: '{{ .Values.defaults.image_registry }}'
Matteo Scandolofc5661e2020-03-23 11:38:15 -070089 repository: '{{ .Values.defaults.image_org }}voltha-ofagent-py'
90 tag: '{{- if hasKey .Values.defaults "image_tag" }}{{- if .Values.defaults.image_tag }}{{ .Values.defaults.image_tag }}{{- else }}2.2.7{{- end }}{{- else }}2.2.7{{- end }}'
Kent Hagerman42101a82019-06-12 12:52:39 -040091 pullPolicy: '{{ .Values.defaults.image_pullPolicy }}'
David Bainbridge2f9b76f2019-05-15 13:48:11 -070092
93 rw_core:
Kent Hagerman42101a82019-06-12 12:52:39 -040094 registry: '{{ .Values.defaults.image_registry }}'
95 repository: '{{ .Values.defaults.image_org }}voltha-rw-core'
Neha Sharmae5767ea2020-04-08 13:39:57 +000096 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 -040097 pullPolicy: '{{ .Values.defaults.image_pullPolicy }}'