blob: 32de22e6b4f2a5b77fde847cf8f645c334f654c6 [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 Bainbridge50cb1ef2019-07-23 22:36:17 +000022 log_level: "ERROR"
David Bainbridge5cb5d172019-07-24 02:30:19 +000023 image_registry: ''
24 image_tag: '{{ .Chart.AppVersion }}'
Kent Hagerman42101a82019-06-12 12:52:39 -040025 image_org: "voltha/"
26 image_pullPolicy: "Always"
David Bainbridgecd30e542019-05-31 20:52:56 +000027 rw_core:
Kent Hagerman42101a82019-06-12 12:52:39 -040028 timeout: "8000"
David Bainbridgecd30e542019-05-31 20:52:56 +000029
David Bainbridge2f9b76f2019-05-15 13:48:11 -070030# Configure the Kafka sub-chart (if it is used)
31kafka:
32 configurationOverrides:
33 "offsets.topic.replication.factor": 1
34 "log.retention.hours": 4
35 "log.message.timestamp.type": "LogAppendTime"
36 persistence:
37 enabled: false
38 zookeeper:
39 replicaCount: 1
40 persistence:
41 enabled: false
42 replicas: 1
43
44# Define connectivity to services on which VOLTHA depends
45services:
46 kafka:
47 adapter:
48 service: voltha-kafka.voltha.svc.cluster.local
49 port: 9092
50 cluster:
51 service: voltha-kafka.voltha.svc.cluster.local
52 port: 9092
53
54 # Define connectivity to etcd
55 etcd:
56 service: voltha-etcd-cluster-client.voltha.svc.cluster.local
57 port: 2379
58
59 # Define controller to which to connect
60 controller:
61 service: onos-openflow.default.svc.cluster.local
62 port: 6653
63
64# Define the recplica count for everything
65replicas:
66 # For R/W cores the templates translate the number of replicas
67 # into the number of RW core pairs with two pods per pair
68 rw_core: 1
69
70 # For everything else replicas are replicas
71 cli: 1
72 ofagent: 1
73 ro_core: 1
74 afrouter: 1
75 afrouterd: 1
76
David Bainbridge50cb1ef2019-07-23 22:36:17 +000077ro_core:
78 log_level: '{{ .Values.defaults.log_level }}'
79
David Bainbridgecd30e542019-05-31 20:52:56 +000080rw_core:
David Bainbridge50cb1ef2019-07-23 22:36:17 +000081 log_level: '{{ .Values.defaults.log_level }}'
Kent Hagerman42101a82019-06-12 12:52:39 -040082 core_timeout: '{{ .Values.defaults.rw_core.timeout }}'
83 timeout_long_request: '{{ .Values.defaults.rw_core.timeout }}'
84 timeout_request: '{{ .Values.defaults.rw_core.timeout }}'
David Bainbridgecd30e542019-05-31 20:52:56 +000085
86
David Bainbridge2f9b76f2019-05-15 13:48:11 -070087# Define Docker images to be used
88images:
89 cli:
Kent Hagerman42101a82019-06-12 12:52:39 -040090 registry: '{{ .Values.defaults.image_registry }}'
91 repository: '{{ .Values.defaults.image_org }}voltha-cli'
David Bainbridge5cb5d172019-07-24 02:30:19 +000092 tag: '{{ .Values.defaults.image_tag }}'
Kent Hagerman42101a82019-06-12 12:52:39 -040093 pullPolicy: '{{ .Values.defaults.image_pullPolicy }}'
David Bainbridge2f9b76f2019-05-15 13:48:11 -070094
95 ofagent:
Kent Hagerman42101a82019-06-12 12:52:39 -040096 registry: '{{ .Values.defaults.image_registry }}'
97 repository: '{{ .Values.defaults.image_org }}voltha-ofagent'
David Bainbridge5cb5d172019-07-24 02:30:19 +000098 tag: '{{ .Values.defaults.image_tag }}'
Kent Hagerman42101a82019-06-12 12:52:39 -040099 pullPolicy: '{{ .Values.defaults.image_pullPolicy }}'
David Bainbridge2f9b76f2019-05-15 13:48:11 -0700100
101 ro_core:
Kent Hagerman42101a82019-06-12 12:52:39 -0400102 registry: '{{ .Values.defaults.image_registry }}'
103 repository: '{{ .Values.defaults.image_org }}voltha-ro-core'
David Bainbridge5cb5d172019-07-24 02:30:19 +0000104 tag: '{{ .Values.defaults.image_tag }}'
Kent Hagerman42101a82019-06-12 12:52:39 -0400105 pullPolicy: '{{ .Values.defaults.image_pullPolicy }}'
David Bainbridge2f9b76f2019-05-15 13:48:11 -0700106
107 rw_core:
Kent Hagerman42101a82019-06-12 12:52:39 -0400108 registry: '{{ .Values.defaults.image_registry }}'
109 repository: '{{ .Values.defaults.image_org }}voltha-rw-core'
David Bainbridge5cb5d172019-07-24 02:30:19 +0000110 tag: '{{ .Values.defaults.image_tag }}'
Kent Hagerman42101a82019-06-12 12:52:39 -0400111 pullPolicy: '{{ .Values.defaults.image_pullPolicy }}'
David Bainbridge2f9b76f2019-05-15 13:48:11 -0700112
113 afrouter:
Kent Hagerman42101a82019-06-12 12:52:39 -0400114 registry: '{{ .Values.defaults.image_registry }}'
115 repository: '{{ .Values.defaults.image_org }}voltha-afrouter'
David Bainbridge5cb5d172019-07-24 02:30:19 +0000116 tag: '{{ .Values.defaults.image_tag }}'
Kent Hagerman42101a82019-06-12 12:52:39 -0400117 pullPolicy: '{{ .Values.defaults.image_pullPolicy }}'
David Bainbridge2f9b76f2019-05-15 13:48:11 -0700118
119 afrouterd:
Kent Hagerman42101a82019-06-12 12:52:39 -0400120 registry: '{{ .Values.defaults.image_registry }}'
121 repository: '{{ .Values.defaults.image_org }}voltha-afrouterd'
David Bainbridge5cb5d172019-07-24 02:30:19 +0000122 tag: '{{ .Values.defaults.image_tag }}'
Kent Hagerman42101a82019-06-12 12:52:39 -0400123 pullPolicy: '{{ .Values.defaults.image_pullPolicy }}'
David Bainbridge2f9b76f2019-05-15 13:48:11 -0700124 restartPolicy: 'Always'