blob: 5c8c9a703b6c00b6a108f114177cd5aeb9dbd97a [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:
Kent Hagerman42101a82019-06-12 12:52:39 -040022 image_registry: ""
23 image_tag: '{{ .Chart.AppVersion }}'
24 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'
87 tag: '{{ .Values.defaults.image_tag }}'
88 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'
93 tag: '{{ .Values.defaults.image_tag }}'
94 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'
99 tag: '{{ .Values.defaults.image_tag }}'
100 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'
105 tag: '{{ .Values.defaults.image_tag }}'
106 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'
111 tag: '{{ .Values.defaults.image_tag }}'
112 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'
117 tag: '{{ .Values.defaults.image_tag }}'
118 pullPolicy: '{{ .Values.defaults.image_pullPolicy }}'
David Bainbridge2f9b76f2019-05-15 13:48:11 -0700119 restartPolicy: 'Always'