blob: 865f1587969348733068bcde8e4ecb06d084da68 [file] [log] [blame]
David K. Bainbridge4ecc1262019-07-01 13:39:11 -07001# Copyright 2019 Ciena Corporation
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
David Bainbridge90fd8e32019-08-21 23:32:47 +000015# IMAGE SELECTION
16# ---------------
17# By default no defaults are set and the image tags specified in the helm
18# charts will be used. If you would like to use the images generated from the
19# HEAD of the "master" git branches, then uncomment this below block and
Matteo Scandolo209547b2019-11-01 14:48:15 -070020# set "<VALUE>" to "master". Similarly, if you want to use the images
David Bainbridge90fd8e32019-08-21 23:32:47 +000021# generated from the HEAD of the "voltha-2.1" git branches, then uncomment
22# this block and replace "<VALUE>" with "voltha-2.1".
David Bainbridge70c0ea82019-11-14 23:25:26 +000023defaults:
24 image_tag: master
David K. Bainbridge4ecc1262019-07-01 13:39:11 -070025
David Bainbridge1ba64f12019-12-18 00:40:13 +000026replicas:
27 cli: ~
28
David Bainbridgee10f6d52019-07-25 00:28:13 +000029images:
David Bainbridged31d6122019-08-13 19:37:59 +000030 onos:
David Bainbridged31d6122019-08-13 19:37:59 +000031 repository: voltha/voltha-onos
David Bainbridge90fd8e32019-08-21 23:32:47 +000032 # IMAGE_SELECTION
33 # ---------------
34 # The helm chart used to deploy ONOS is the public ONOS helm chart so,
35 # there is a need to specify the exact image repository and image tag.
Matteo Scandolo209547b2019-11-01 14:48:15 -070036 # If you would like to use the "master", "voltha-2.1", or other image
David Bainbridge90fd8e32019-08-21 23:32:47 +000037 # just replace the "tag" value below.
David Bainbridge70c0ea82019-11-14 23:25:26 +000038 tag: master
David Bainbridge90fd8e32019-08-21 23:32:47 +000039
40# IMAGE_SELECTION
41# ---------------
42# Below are a list of all the images utilized by kind-voltha. This list is
43# provided as a conveinence if you would like to override on a per image
44# basis. If you are using the defaults, master, or voltha-2.1 branch there
45# is no need to utilize this list.
David Bainbridge90fd8e32019-08-21 23:32:47 +000046# adapter_open_olt:
David Bainbridge4974fcb2019-08-31 02:24:50 +000047# repository: voltha/voltha-openolt-adapter
David Bainbridge90fd8e32019-08-21 23:32:47 +000048# tag: 2.1.1
49# adapter_open_onu:
David Bainbridge4974fcb2019-08-31 02:24:50 +000050# repository: voltha/voltha-openonu-adapter
David Bainbridge90fd8e32019-08-21 23:32:47 +000051# tag: 2.1.0
52# adapter_simulated_olt:
David Bainbridge4974fcb2019-08-31 02:24:50 +000053# repository: voltha/voltha-adapter-simulated-olt
David Bainbridge90fd8e32019-08-21 23:32:47 +000054# tag: 2.1.1
David Bainbridge4974fcb2019-08-31 02:24:50 +000055# adapter_simulated_onu:
56# repository: voltha/voltha-adapter-simulated-onu
David Bainbridge90fd8e32019-08-21 23:32:47 +000057# tag: 2.1.1
58# bbsim:
David Bainbridge4974fcb2019-08-31 02:24:50 +000059# repository: voltha/voltha-bbsim
David Bainbridge90fd8e32019-08-21 23:32:47 +000060# tag: 2.1.0
61# afrouter:
David Bainbridge4974fcb2019-08-31 02:24:50 +000062# repository: voltha/voltha-afrouter
David Bainbridge90fd8e32019-08-21 23:32:47 +000063# tag: 2.1.1
64# afrouterd:
David Bainbridge4974fcb2019-08-31 02:24:50 +000065# repository: voltha/voltha-afrouterd
David Bainbridge90fd8e32019-08-21 23:32:47 +000066# tag: 2.1.1
67# cli:
David Bainbridge4974fcb2019-08-31 02:24:50 +000068# repository: voltha/voltha-cli
David Bainbridge90fd8e32019-08-21 23:32:47 +000069# tag: 2.1.1
70# ofagent:
David Bainbridge4974fcb2019-08-31 02:24:50 +000071# repository: voltha/voltha-ofagent
David Bainbridge90fd8e32019-08-21 23:32:47 +000072# tag: 2.1.1
73# ro_core:
David Bainbridge4974fcb2019-08-31 02:24:50 +000074# repository: voltha/voltha-ro-core
David Bainbridge90fd8e32019-08-21 23:32:47 +000075# tag: 2.1.1
76# rw_core:
David Bainbridge4974fcb2019-08-31 02:24:50 +000077# repository: voltha/voltha-rw-core
David Bainbridge90fd8e32019-08-21 23:32:47 +000078# tag: 2.1.1
David Bainbridgee10f6d52019-07-25 00:28:13 +000079
David K. Bainbridge4ecc1262019-07-01 13:39:11 -070080onos_env:
81- name: POD_IP
82 valueFrom:
83 fieldRef:
84 fieldPath: status.podIP
85- name: NAMESPACE
86 valueFrom:
87 fieldRef:
88 fieldPath: metadata.namespace
89- name: ONOS_APPS
90 value: "drivers,openflow-base,hostprovider"
91
David K. Bainbridgef1c8f4c2019-07-01 14:30:38 -070092# Customization for BBSIM
93kafka_broker: 'voltha-kafka.voltha.svc.cluster.local:9092'
Matteo Scandolod267bb92020-02-13 10:47:44 -080094pon: 1
95onu: 1
Matteo Scandolo38b98ce2019-11-04 07:57:42 -080096auth: true
97dhcp: true
David Bainbridge4974fcb2019-08-31 02:24:50 +000098
99# SHOCK THE MONKEY OR LET LOSE THE DOGS OF WAR
100# The VOLTHA charts have support for adding extra labels to deployments and
101# pods. These extra labels can be used to integrate with other utilities
102# such as kube-monkey to add a bit of chaos to the cluster. Below are some
103# settings that can be uncommented to opt-in VOLTHA deployments/pods to
104# kube-monkey. For example, if you want ALL deployments and pods to opt-in
105# then uncomment the `extra_deployment_labels` and `extra_pod_label` blocks.
106# If you want to be more selected then comment the blocks that pertain to the
107# targets you care about.
108
109#extra_deployment_labels:
110# kube-monkey/enabled: enabled
111# kube-monkey/identifier: monkey-victim
112# kube-monkey/mtbf: 1
113# kube-monkey/kill-mode: fixed
114# kube-monkey/kill-value: 1
115#
116#extra_pod_labels:
117# kube-monkey/enabled: enabled
118# kube-monkey/identifier: monkey-victim
119# kube-monkey/mtbf: 1
120# kube-monkey/kill-mode: fixed
121# kube-monkey/kill-value: 1
122#
123#rw_core_deployment_labels:
124# kube-monkey/enabled: enabled
125# kube-monkey/identifier: monkey-victim
126# kube-monkey/mtbf: 1
127# kube-monkey/kill-mode: fixed
128# kube-monkey/kill-value: 1
129#
130#rw_core_pod_labels:
131# kube-monkey/enabled: enabled
132# kube-monkey/identifier: monkey-victim
133# kube-monkey/mtbf: 1
134# kube-monkey/kill-mode: fixed
135# kube-monkey/kill-value: 1
136#
137#ro_core_deployment_labels:
138# kube-monkey/enabled: enabled
139# kube-monkey/identifier: monkey-victim
140# kube-monkey/mtbf: 1
141# kube-monkey/kill-mode: fixed
142# kube-monkey/kill-value: 1
143#
144#ro_core_pod_labels:
145# kube-monkey/enabled: enabled
146# kube-monkey/identifier: monkey-victim
147# kube-monkey/mtbf: 1
148# kube-monkey/kill-mode: fixed
149# kube-monkey/kill-value: 1
150#
151#openolt_deployment_labels:
152# kube-monkey/enabled: enabled
153# kube-monkey/identifier: monkey-victim
154# kube-monkey/mtbf: 1
155# kube-monkey/kill-mode: fixed
156# kube-monkey/kill-value: 1
157#
158#openolt_pod_labels:
159# kube-monkey/enabled: enabled
160# kube-monkey/identifier: monkey-victim
161# kube-monkey/mtbf: 1
162# kube-monkey/kill-mode: fixed
163# kube-monkey/kill-value: 1
164#
165#openonu_deployment_labels:
166# kube-monkey/enabled: enabled
167# kube-monkey/identifier: monkey-victim
168# kube-monkey/mtbf: 1
169# kube-monkey/kill-mode: fixed
170# kube-monkey/kill-value: 1
171#
172#openonu_pod_labels:
173# kube-monkey/enabled: enabled
174# kube-monkey/identifier: monkey-victim
175# kube-monkey/mtbf: 1
176# kube-monkey/kill-mode: fixed
177# kube-monkey/kill-value: 1
178#
179#simolt_deployment_labels:
180# kube-monkey/enabled: enabled
181# kube-monkey/identifier: monkey-victim
182# kube-monkey/mtbf: 1
183# kube-monkey/kill-mode: fixed
184# kube-monkey/kill-value: 1
185#
186#simolt_pod_labels:
187# kube-monkey/enabled: enabled
188# kube-monkey/identifier: monkey-victim
189# kube-monkey/mtbf: 1
190# kube-monkey/kill-mode: fixed
191# kube-monkey/kill-value: 1
192#
193#simonu_deployment_labels:
194# kube-monkey/enabled: enabled
195# kube-monkey/identifier: monkey-victim
196# kube-monkey/mtbf: 1
197# kube-monkey/kill-mode: fixed
198# kube-monkey/kill-value: 1
199#
200#simonu_pod_labels:
201# kube-monkey/enabled: enabled
202# kube-monkey/identifier: monkey-victim
203# kube-monkey/mtbf: 1
204# kube-monkey/kill-mode: fixed
205# kube-monkey/kill-value: 1