blob: 722147001c1f218526dfae0c4474f75879aa7464 [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:
22 image_registry:
23 image_tag:
24 image_org:
25 image_pullPolicy:
26 rw_core:
27 timeout:
28
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:
77 core_timeout: '{{ .Values.defaults.rw_core.timeout | default "8000" }}'
78 timeout_long_request: '{{ .Values.defaults.rw_core.timeout | default "8000" }}'
79 timeout_request: '{{ .Values.defaults.rw_core.timeout | default "8000" }}'
80
81
David Bainbridge2f9b76f2019-05-15 13:48:11 -070082# Define Docker images to be used
83images:
84 cli:
David Bainbridgecd30e542019-05-31 20:52:56 +000085 registry: '{{ .Values.defaults.image_registry | default "" }}'
86 repository: '{{ .Values.defaults.image_org | default "voltha/" }}voltha-cli'
87 tag: '{{ .Values.defaults.image_tag | default .Chart.AppVersion }}'
88 pullPolicy: '{{ .Values.defaults.image_pullPolicy | default "Always" }}'
David Bainbridge2f9b76f2019-05-15 13:48:11 -070089
90 ofagent:
David Bainbridgecd30e542019-05-31 20:52:56 +000091 registry: '{{ .Values.defaults.image_registry | default "" }}'
92 repository: '{{ .Values.defaults.image_org | default "voltha/" }}voltha-ofagent'
93 tag: '{{ .Values.defaults.image_tag | default .Chart.AppVersion }}'
94 pullPolicy: '{{ .Values.defaults.image_pullPolicy | default "Always" }}'
David Bainbridge2f9b76f2019-05-15 13:48:11 -070095
96 ro_core:
David Bainbridgecd30e542019-05-31 20:52:56 +000097 registry: '{{ .Values.defaults.image_registry | default "" }}'
98 repository: '{{ .Values.defaults.image_org | default "voltha/" }}voltha-ro-core'
99 tag: '{{ .Values.defaults.image_tag | default .Chart.AppVersion }}'
100 pullPolicy: '{{ .Values.defaults.image_pullPolicy | default "Always" }}'
David Bainbridge2f9b76f2019-05-15 13:48:11 -0700101
102 rw_core:
David Bainbridgecd30e542019-05-31 20:52:56 +0000103 registry: '{{ .Values.defaults.image_registry | default "" }}'
104 repository: '{{ .Values.defaults.image_org | default "voltha/" }}voltha-rw-core'
105 tag: '{{ .Values.defaults.image_tag | default .Chart.AppVersion }}'
106 pullPolicy: '{{ .Values.defaults.image_pullPolicy | default "Always" }}'
David Bainbridge2f9b76f2019-05-15 13:48:11 -0700107
108 afrouter:
David Bainbridgecd30e542019-05-31 20:52:56 +0000109 registry: '{{ .Values.defaults.image_registry | default "" }}'
110 repository: '{{ .Values.defaults.image_org | default "voltha/" }}voltha-afrouter'
111 tag: '{{ .Values.defaults.image_tag | default .Chart.AppVersion }}'
112 pullPolicy: '{{ .Values.defaults.image_pullPolicy | default "Always" }}'
David Bainbridge2f9b76f2019-05-15 13:48:11 -0700113
114 afrouterd:
David Bainbridgecd30e542019-05-31 20:52:56 +0000115 registry: '{{ .Values.defaults.image_registry | default "" }}'
116 repository: '{{ .Values.defaults.image_org | default "voltha/" }}voltha-afrouterd'
117 tag: '{{ .Values.defaults.image_tag | default .Chart.AppVersion }}'
118 pullPolicy: '{{ .Values.defaults.image_pullPolicy | default "Always" }}'
David Bainbridge2f9b76f2019-05-15 13:48:11 -0700119 restartPolicy: 'Always'