blob: 4090902db20e51ec0e1563b1d3bad6683a2e44fd [file] [log] [blame]
Zack Williamsc6202fe2020-03-26 10:55:40 -07001---
David Bainbridgecd30e542019-05-31 20:52:56 +00002# Copyright 2019-present Open Networking Foundation
3#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15
David Bainbridgecd30e542019-05-31 20:52:56 +000016# Default overrides
17defaults:
Matteo Scandolo1d7ab922019-12-10 13:41:23 -080018 log_level: "WARN"
David Bainbridge5cb5d172019-07-24 02:30:19 +000019 image_registry: ""
Andy Bavier9a4566b2019-11-05 09:24:58 -070020 image_tag: ~
David Bainbridge5cb5d172019-07-24 02:30:19 +000021 image_org: "voltha/"
22 image_pullPolicy: "Always"
serkant.uluderyaf1b8cc72020-05-13 23:26:51 -070023 topics:
24 core_topic: "rwcore"
25 adapter_open_olt_topic: "openolt"
26
27 # Define prefix path for etcd
28 # If you're running multiple voltha stacks the this value
29 # should be unique across the stacks.
30 kv_store_data_prefix: "service/voltha"
David Bainbridgecd30e542019-05-31 20:52:56 +000031
32# Define connectivity to required services
33services:
34 kafka:
35 adapter:
36 service: voltha-kafka.voltha.svc.cluster.local
37 port: 9092
38 cluster:
39 service: voltha-kafka.voltha.svc.cluster.local
40 port: 9092
Matteo Scandolo1d7ab922019-12-10 13:41:23 -080041
David Bainbridgecd30e542019-05-31 20:52:56 +000042 # Define connectivity to etcd
43 etcd:
44 service: voltha-etcd-cluster-client.voltha.svc.cluster.local
45 port: 2379
46
Matteo Scandoloe9a01f72020-05-05 09:33:59 -070047# Expose the golang pprof webserver, if enabled
48profiler:
49 enabled: false
50
David Bainbridgecd30e542019-05-31 20:52:56 +000051# Define the recplica count for everything
52replicas:
serkant.uluderyaf1b8cc72020-05-13 23:26:51 -070053 current_replica: 1
54 total_replica: 1
David Bainbridgecd30e542019-05-31 20:52:56 +000055
Matteo Scandolo1d7ab922019-12-10 13:41:23 -080056adapter_open_olt:
57 log_level: '{{ .Values.defaults.log_level }}'
58
David Bainbridgecd30e542019-05-31 20:52:56 +000059images:
60 adapter_open_olt:
David Bainbridge5cb5d172019-07-24 02:30:19 +000061 registry: '{{ .Values.defaults.image_registry }}'
62 repository: '{{ .Values.defaults.image_org }}voltha-openolt-adapter'
Andy Bavier9a4566b2019-11-05 09:24:58 -070063 tag: '{{- if hasKey .Values.defaults "image_tag" }}{{- if .Values.defaults.image_tag }}{{ .Values.defaults.image_tag }}{{- else }}{{ .Chart.AppVersion }}{{- end }}{{- else }}{{ .Chart.AppVersion }}{{- end }}'
David Bainbridgecd30e542019-05-31 20:52:56 +000064 pullPolicy: '{{ .Values.defaults.image_pullPolicy | default "Always" }}'