blob: 979119f031f2553f75a5dc93e895a023feecd1cf [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.
14
15---
David Bainbridge2f9b76f2019-05-15 13:48:11 -070016serviceaccount: voltha-serviceaccount
17private_etcd_cluster: true
18private_kafka_cluster: true
David K. Bainbridge707022f2020-01-23 14:15:07 -080019use_ofagent_go: false
David Bainbridge2f9b76f2019-05-15 13:48:11 -070020
David Bainbridge60332ae2019-10-11 15:04:13 +000021# Default Values
22# The following are the default values used for every container in the
23# template.
David Bainbridgecd30e542019-05-31 20:52:56 +000024defaults:
Matteo Scandolo1d7ab922019-12-10 13:41:23 -080025 log_level: "WARN"
David Bainbridge5cb5d172019-07-24 02:30:19 +000026 image_registry: ''
Kent Hagerman42101a82019-06-12 12:52:39 -040027 image_org: "voltha/"
David Bainbridge60332ae2019-10-11 15:04:13 +000028 image_tag: ~
Kent Hagerman42101a82019-06-12 12:52:39 -040029 image_pullPolicy: "Always"
David Bainbridgecd30e542019-05-31 20:52:56 +000030 rw_core:
Kent Hagerman42101a82019-06-12 12:52:39 -040031 timeout: "8000"
David Bainbridgecd30e542019-05-31 20:52:56 +000032
David Bainbridge2f9b76f2019-05-15 13:48:11 -070033# Configure the Kafka sub-chart (if it is used)
34kafka:
35 configurationOverrides:
36 "offsets.topic.replication.factor": 1
37 "log.retention.hours": 4
38 "log.message.timestamp.type": "LogAppendTime"
39 persistence:
40 enabled: false
41 zookeeper:
42 replicaCount: 1
43 persistence:
44 enabled: false
45 replicas: 1
46
47# Define connectivity to services on which VOLTHA depends
48services:
49 kafka:
50 adapter:
51 service: voltha-kafka.voltha.svc.cluster.local
52 port: 9092
53 cluster:
54 service: voltha-kafka.voltha.svc.cluster.local
55 port: 9092
56
57 # Define connectivity to etcd
58 etcd:
59 service: voltha-etcd-cluster-client.voltha.svc.cluster.local
60 port: 2379
61
62 # Define controller to which to connect
63 controller:
64 service: onos-openflow.default.svc.cluster.local
65 port: 6653
66
67# Define the recplica count for everything
68replicas:
69 # For R/W cores the templates translate the number of replicas
70 # into the number of RW core pairs with two pods per pair
71 rw_core: 1
72
73 # For everything else replicas are replicas
David Bainbridge2f9b76f2019-05-15 13:48:11 -070074 ofagent: 1
David Bainbridge2f9b76f2019-05-15 13:48:11 -070075
David Bainbridge50cb1ef2019-07-23 22:36:17 +000076
David Bainbridgecd30e542019-05-31 20:52:56 +000077rw_core:
David Bainbridge50cb1ef2019-07-23 22:36:17 +000078 log_level: '{{ .Values.defaults.log_level }}'
Kent Hagerman42101a82019-06-12 12:52:39 -040079 core_timeout: '{{ .Values.defaults.rw_core.timeout }}'
80 timeout_long_request: '{{ .Values.defaults.rw_core.timeout }}'
81 timeout_request: '{{ .Values.defaults.rw_core.timeout }}'
David Bainbridgecd30e542019-05-31 20:52:56 +000082
David K. Bainbridge707022f2020-01-23 14:15:07 -080083ofagent:
84 log_level: '{{ .Values.default.log_level }}'
85
David Bainbridgecd30e542019-05-31 20:52:56 +000086
David Bainbridge2f9b76f2019-05-15 13:48:11 -070087# Define Docker images to be used
88images:
David Bainbridge2f9b76f2019-05-15 13:48:11 -070089 ofagent:
Kent Hagerman42101a82019-06-12 12:52:39 -040090 registry: '{{ .Values.defaults.image_registry }}'
91 repository: '{{ .Values.defaults.image_org }}voltha-ofagent'
Scott Baker5b2eaa82019-12-17 11:24:00 -080092 tag: '{{- if hasKey .Values.defaults "image_tag" }}{{- if .Values.defaults.image_tag }}{{ .Values.defaults.image_tag }}{{- else }}2.2.3{{- end }}{{- else }}2.2.3{{- end }}'
Kent Hagerman42101a82019-06-12 12:52:39 -040093 pullPolicy: '{{ .Values.defaults.image_pullPolicy }}'
David Bainbridge2f9b76f2019-05-15 13:48:11 -070094
95 rw_core:
Kent Hagerman42101a82019-06-12 12:52:39 -040096 registry: '{{ .Values.defaults.image_registry }}'
97 repository: '{{ .Values.defaults.image_org }}voltha-rw-core'
Scott Baker5b2eaa82019-12-17 11:24:00 -080098 tag: '{{- if hasKey .Values.defaults "image_tag" }}{{- if .Values.defaults.image_tag }}{{ .Values.defaults.image_tag }}{{- else }}2.2.3{{- end }}{{- else }}2.2.3{{- end }}'
Kent Hagerman42101a82019-06-12 12:52:39 -040099 pullPolicy: '{{ .Values.defaults.image_pullPolicy }}'
David Bainbridge2f9b76f2019-05-15 13:48:11 -0700100