blob: bea3bb3c56b847828653837bf8a50c7d4f15d832 [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
19
David Bainbridge60332ae2019-10-11 15:04:13 +000020# Default Values
21# The following are the default values used for every container in the
22# template.
David Bainbridgecd30e542019-05-31 20:52:56 +000023defaults:
Matteo Scandolo1d7ab922019-12-10 13:41:23 -080024 log_level: "WARN"
David Bainbridge5cb5d172019-07-24 02:30:19 +000025 image_registry: ''
Kent Hagerman42101a82019-06-12 12:52:39 -040026 image_org: "voltha/"
David Bainbridge60332ae2019-10-11 15:04:13 +000027 image_tag: ~
Kent Hagerman42101a82019-06-12 12:52:39 -040028 image_pullPolicy: "Always"
David Bainbridgecd30e542019-05-31 20:52:56 +000029 rw_core:
Kent Hagerman42101a82019-06-12 12:52:39 -040030 timeout: "8000"
David Bainbridgecd30e542019-05-31 20:52:56 +000031
David Bainbridge2f9b76f2019-05-15 13:48:11 -070032# Configure the Kafka sub-chart (if it is used)
33kafka:
34 configurationOverrides:
35 "offsets.topic.replication.factor": 1
36 "log.retention.hours": 4
37 "log.message.timestamp.type": "LogAppendTime"
38 persistence:
39 enabled: false
40 zookeeper:
41 replicaCount: 1
42 persistence:
43 enabled: false
44 replicas: 1
45
46# Define connectivity to services on which VOLTHA depends
47services:
48 kafka:
49 adapter:
50 service: voltha-kafka.voltha.svc.cluster.local
51 port: 9092
52 cluster:
53 service: voltha-kafka.voltha.svc.cluster.local
54 port: 9092
55
56 # Define connectivity to etcd
57 etcd:
58 service: voltha-etcd-cluster-client.voltha.svc.cluster.local
59 port: 2379
60
61 # Define controller to which to connect
62 controller:
63 service: onos-openflow.default.svc.cluster.local
64 port: 6653
65
66# 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 Bainbridge50cb1ef2019-07-23 22:36:17 +000075
David Bainbridgecd30e542019-05-31 20:52:56 +000076rw_core:
David Bainbridge50cb1ef2019-07-23 22:36:17 +000077 log_level: '{{ .Values.defaults.log_level }}'
Kent Hagerman42101a82019-06-12 12:52:39 -040078 core_timeout: '{{ .Values.defaults.rw_core.timeout }}'
79 timeout_long_request: '{{ .Values.defaults.rw_core.timeout }}'
80 timeout_request: '{{ .Values.defaults.rw_core.timeout }}'
David Bainbridgecd30e542019-05-31 20:52:56 +000081
82
David Bainbridge2f9b76f2019-05-15 13:48:11 -070083# Define Docker images to be used
84images:
David Bainbridge2f9b76f2019-05-15 13:48:11 -070085 ofagent:
Kent Hagerman42101a82019-06-12 12:52:39 -040086 registry: '{{ .Values.defaults.image_registry }}'
87 repository: '{{ .Values.defaults.image_org }}voltha-ofagent'
Scott Baker5b2eaa82019-12-17 11:24:00 -080088 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 -040089 pullPolicy: '{{ .Values.defaults.image_pullPolicy }}'
David Bainbridge2f9b76f2019-05-15 13:48:11 -070090
91 rw_core:
Kent Hagerman42101a82019-06-12 12:52:39 -040092 registry: '{{ .Values.defaults.image_registry }}'
93 repository: '{{ .Values.defaults.image_org }}voltha-rw-core'
Scott Baker5b2eaa82019-12-17 11:24:00 -080094 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 -040095 pullPolicy: '{{ .Values.defaults.image_pullPolicy }}'
David Bainbridge2f9b76f2019-05-15 13:48:11 -070096