blob: 3f609f10ce877e1490856d70b7de953e8b530749 [file] [log] [blame]
David Bainbridgecd30e542019-05-31 20:52:56 +00001# 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.
David Bainbridge8595b3b2020-06-05 12:23:05 -070014---
David Bainbridgecd30e542019-05-31 20:52:56 +000015
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"
David Bainbridge8595b3b2020-06-05 12:23:05 -070026
serkant.uluderyaf1b8cc72020-05-13 23:26:51 -070027 # Define prefix path for etcd
David Bainbridge8595b3b2020-06-05 12:23:05 -070028 # If you're running multiple voltha stacks the this value
serkant.uluderyaf1b8cc72020-05-13 23:26:51 -070029 # should be unique across the stacks.
30 kv_store_data_prefix: "service/voltha"
David Bainbridgecd30e542019-05-31 20:52:56 +000031
David Bainbridge8595b3b2020-06-05 12:23:05 -070032# Default security context under which the containers run
33securityContext:
34 enabled: true
35 fsGroup: 1001
36 runAsUser: 1001
37 runAsGroup: 1001
38
David Bainbridgecd30e542019-05-31 20:52:56 +000039# Define connectivity to required services
40services:
41 kafka:
42 adapter:
David Bainbridge8595b3b2020-06-05 12:23:05 -070043 service: kafka
David Bainbridgecd30e542019-05-31 20:52:56 +000044 port: 9092
45 cluster:
David Bainbridge8595b3b2020-06-05 12:23:05 -070046 service: kafka
David Bainbridgecd30e542019-05-31 20:52:56 +000047 port: 9092
Matteo Scandolo1d7ab922019-12-10 13:41:23 -080048
David Bainbridgecd30e542019-05-31 20:52:56 +000049 # Define connectivity to etcd
50 etcd:
David Bainbridge8595b3b2020-06-05 12:23:05 -070051 service: etcd
David Bainbridgecd30e542019-05-31 20:52:56 +000052 port: 2379
53
Matteo Scandoloe9a01f72020-05-05 09:33:59 -070054# Expose the golang pprof webserver, if enabled
55profiler:
56 enabled: false
57
David Bainbridgecd30e542019-05-31 20:52:56 +000058# Define the recplica count for everything
59replicas:
serkant.uluderyaf1b8cc72020-05-13 23:26:51 -070060 current_replica: 1
61 total_replica: 1
David Bainbridgecd30e542019-05-31 20:52:56 +000062
Matteo Scandolo1d7ab922019-12-10 13:41:23 -080063adapter_open_olt:
64 log_level: '{{ .Values.defaults.log_level }}'
65
David Bainbridgecd30e542019-05-31 20:52:56 +000066images:
67 adapter_open_olt:
David Bainbridge5cb5d172019-07-24 02:30:19 +000068 registry: '{{ .Values.defaults.image_registry }}'
69 repository: '{{ .Values.defaults.image_org }}voltha-openolt-adapter'
Andy Bavier9a4566b2019-11-05 09:24:58 -070070 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 +000071 pullPolicy: '{{ .Values.defaults.image_pullPolicy | default "Always" }}'