blob: 5afee32348e447b89192c8d45b890eac52e34389 [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
A R Karthickc3b2df92019-09-30 23:22:38 +000086api_server:
87 kafka_topic: 'affinityRouter'
David Bainbridgecd30e542019-05-31 20:52:56 +000088
David Bainbridge2f9b76f2019-05-15 13:48:11 -070089# Define Docker images to be used
90images:
91 cli:
Kent Hagerman42101a82019-06-12 12:52:39 -040092 registry: '{{ .Values.defaults.image_registry }}'
93 repository: '{{ .Values.defaults.image_org }}voltha-cli'
David Bainbridge5cb5d172019-07-24 02:30:19 +000094 tag: '{{ .Values.defaults.image_tag }}'
Kent Hagerman42101a82019-06-12 12:52:39 -040095 pullPolicy: '{{ .Values.defaults.image_pullPolicy }}'
David Bainbridge2f9b76f2019-05-15 13:48:11 -070096
97 ofagent:
Kent Hagerman42101a82019-06-12 12:52:39 -040098 registry: '{{ .Values.defaults.image_registry }}'
99 repository: '{{ .Values.defaults.image_org }}voltha-ofagent'
David Bainbridge5cb5d172019-07-24 02:30:19 +0000100 tag: '{{ .Values.defaults.image_tag }}'
Kent Hagerman42101a82019-06-12 12:52:39 -0400101 pullPolicy: '{{ .Values.defaults.image_pullPolicy }}'
David Bainbridge2f9b76f2019-05-15 13:48:11 -0700102
103 ro_core:
Kent Hagerman42101a82019-06-12 12:52:39 -0400104 registry: '{{ .Values.defaults.image_registry }}'
105 repository: '{{ .Values.defaults.image_org }}voltha-ro-core'
David Bainbridge5cb5d172019-07-24 02:30:19 +0000106 tag: '{{ .Values.defaults.image_tag }}'
Kent Hagerman42101a82019-06-12 12:52:39 -0400107 pullPolicy: '{{ .Values.defaults.image_pullPolicy }}'
David Bainbridge2f9b76f2019-05-15 13:48:11 -0700108
109 rw_core:
Kent Hagerman42101a82019-06-12 12:52:39 -0400110 registry: '{{ .Values.defaults.image_registry }}'
111 repository: '{{ .Values.defaults.image_org }}voltha-rw-core'
David Bainbridge5cb5d172019-07-24 02:30:19 +0000112 tag: '{{ .Values.defaults.image_tag }}'
Kent Hagerman42101a82019-06-12 12:52:39 -0400113 pullPolicy: '{{ .Values.defaults.image_pullPolicy }}'
David Bainbridge2f9b76f2019-05-15 13:48:11 -0700114
115 afrouter:
Kent Hagerman42101a82019-06-12 12:52:39 -0400116 registry: '{{ .Values.defaults.image_registry }}'
117 repository: '{{ .Values.defaults.image_org }}voltha-afrouter'
David Bainbridge5cb5d172019-07-24 02:30:19 +0000118 tag: '{{ .Values.defaults.image_tag }}'
Kent Hagerman42101a82019-06-12 12:52:39 -0400119 pullPolicy: '{{ .Values.defaults.image_pullPolicy }}'
David Bainbridge2f9b76f2019-05-15 13:48:11 -0700120
121 afrouterd:
Kent Hagerman42101a82019-06-12 12:52:39 -0400122 registry: '{{ .Values.defaults.image_registry }}'
123 repository: '{{ .Values.defaults.image_org }}voltha-afrouterd'
David Bainbridge5cb5d172019-07-24 02:30:19 +0000124 tag: '{{ .Values.defaults.image_tag }}'
Kent Hagerman42101a82019-06-12 12:52:39 -0400125 pullPolicy: '{{ .Values.defaults.image_pullPolicy }}'
David Bainbridge2f9b76f2019-05-15 13:48:11 -0700126 restartPolicy: 'Always'