blob: 6429af997ac4092101dcd1aad0d0042e583587e2 [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 Bainbridgecd30e542019-05-31 20:52:56 +000020# Default overrides
21defaults:
David Bainbridge5cb5d172019-07-24 02:30:19 +000022 image_registry: ''
23 image_tag: '{{ .Chart.AppVersion }}'
Kent Hagerman42101a82019-06-12 12:52:39 -040024 image_org: "voltha/"
25 image_pullPolicy: "Always"
David Bainbridgecd30e542019-05-31 20:52:56 +000026 rw_core:
Kent Hagerman42101a82019-06-12 12:52:39 -040027 timeout: "8000"
David Bainbridgecd30e542019-05-31 20:52:56 +000028
David Bainbridge2f9b76f2019-05-15 13:48:11 -070029# Configure the Kafka sub-chart (if it is used)
30kafka:
31 configurationOverrides:
32 "offsets.topic.replication.factor": 1
33 "log.retention.hours": 4
34 "log.message.timestamp.type": "LogAppendTime"
35 persistence:
36 enabled: false
37 zookeeper:
38 replicaCount: 1
39 persistence:
40 enabled: false
41 replicas: 1
42
43# Define connectivity to services on which VOLTHA depends
44services:
45 kafka:
46 adapter:
47 service: voltha-kafka.voltha.svc.cluster.local
48 port: 9092
49 cluster:
50 service: voltha-kafka.voltha.svc.cluster.local
51 port: 9092
52
53 # Define connectivity to etcd
54 etcd:
55 service: voltha-etcd-cluster-client.voltha.svc.cluster.local
56 port: 2379
57
58 # Define controller to which to connect
59 controller:
60 service: onos-openflow.default.svc.cluster.local
61 port: 6653
62
63# Define the recplica count for everything
64replicas:
65 # For R/W cores the templates translate the number of replicas
66 # into the number of RW core pairs with two pods per pair
67 rw_core: 1
68
69 # For everything else replicas are replicas
70 cli: 1
71 ofagent: 1
72 ro_core: 1
73 afrouter: 1
74 afrouterd: 1
75
David Bainbridgecd30e542019-05-31 20:52:56 +000076rw_core:
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
81
David Bainbridge2f9b76f2019-05-15 13:48:11 -070082# Define Docker images to be used
83images:
84 cli:
Kent Hagerman42101a82019-06-12 12:52:39 -040085 registry: '{{ .Values.defaults.image_registry }}'
86 repository: '{{ .Values.defaults.image_org }}voltha-cli'
David Bainbridge5cb5d172019-07-24 02:30:19 +000087 tag: '{{ .Values.defaults.image_tag }}'
Kent Hagerman42101a82019-06-12 12:52:39 -040088 pullPolicy: '{{ .Values.defaults.image_pullPolicy }}'
David Bainbridge2f9b76f2019-05-15 13:48:11 -070089
90 ofagent:
Kent Hagerman42101a82019-06-12 12:52:39 -040091 registry: '{{ .Values.defaults.image_registry }}'
92 repository: '{{ .Values.defaults.image_org }}voltha-ofagent'
David Bainbridge5cb5d172019-07-24 02:30:19 +000093 tag: '{{ .Values.defaults.image_tag }}'
Kent Hagerman42101a82019-06-12 12:52:39 -040094 pullPolicy: '{{ .Values.defaults.image_pullPolicy }}'
David Bainbridge2f9b76f2019-05-15 13:48:11 -070095
96 ro_core:
Kent Hagerman42101a82019-06-12 12:52:39 -040097 registry: '{{ .Values.defaults.image_registry }}'
98 repository: '{{ .Values.defaults.image_org }}voltha-ro-core'
David Bainbridge5cb5d172019-07-24 02:30:19 +000099 tag: '{{ .Values.defaults.image_tag }}'
Kent Hagerman42101a82019-06-12 12:52:39 -0400100 pullPolicy: '{{ .Values.defaults.image_pullPolicy }}'
David Bainbridge2f9b76f2019-05-15 13:48:11 -0700101
102 rw_core:
Kent Hagerman42101a82019-06-12 12:52:39 -0400103 registry: '{{ .Values.defaults.image_registry }}'
104 repository: '{{ .Values.defaults.image_org }}voltha-rw-core'
David Bainbridge5cb5d172019-07-24 02:30:19 +0000105 tag: '{{ .Values.defaults.image_tag }}'
Kent Hagerman42101a82019-06-12 12:52:39 -0400106 pullPolicy: '{{ .Values.defaults.image_pullPolicy }}'
David Bainbridge2f9b76f2019-05-15 13:48:11 -0700107
108 afrouter:
Kent Hagerman42101a82019-06-12 12:52:39 -0400109 registry: '{{ .Values.defaults.image_registry }}'
110 repository: '{{ .Values.defaults.image_org }}voltha-afrouter'
David Bainbridge5cb5d172019-07-24 02:30:19 +0000111 tag: '{{ .Values.defaults.image_tag }}'
Kent Hagerman42101a82019-06-12 12:52:39 -0400112 pullPolicy: '{{ .Values.defaults.image_pullPolicy }}'
David Bainbridge2f9b76f2019-05-15 13:48:11 -0700113
114 afrouterd:
Kent Hagerman42101a82019-06-12 12:52:39 -0400115 registry: '{{ .Values.defaults.image_registry }}'
116 repository: '{{ .Values.defaults.image_org }}voltha-afrouterd'
David Bainbridge5cb5d172019-07-24 02:30:19 +0000117 tag: '{{ .Values.defaults.image_tag }}'
Kent Hagerman42101a82019-06-12 12:52:39 -0400118 pullPolicy: '{{ .Values.defaults.image_pullPolicy }}'
David Bainbridge2f9b76f2019-05-15 13:48:11 -0700119 restartPolicy: 'Always'