blob: 7f6792a1e80dbc3e8c0c6b636c67fa902fccfed0 [file] [log] [blame]
Joey Armstrong34d4ad72023-01-03 09:47:15 -05001# Copyright 2022-2023 Open Networking Foundation (ONF) and the ONF Contributors
Elia Battiston98458082022-02-28 19:07:43 +01002#
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---
15nameOverride: ~
16fullNameOverride: ~
17
18# Default overrides
19global:
20 log_level: "WARN"
21 image_registry: ""
22 image_tag: ~
23 image_org: "voltha/"
24 image_pullPolicy: "Always"
Elia Battiston150669d2022-03-14 18:44:41 +010025 voltha_infra_name: "voltha-infra"
26 voltha_infra_namespace: "infra"
27 voltha_stack_name: "voltha"
28 voltha_stack_namespace: "voltha"
Elia Battiston98458082022-02-28 19:07:43 +010029
30 # Configure Log Correlation
31 log_correlation:
32 enabled: true
33
34 # Configure Tracing
35 tracing:
36 enabled: true
37
38# Probe values
39probe:
40 liveness:
41 initial_delay_seconds: 3
42 period_seconds: 3
43 readiness:
44 initial_delay_seconds: 3
45 period_seconds: 3
46
47# Default security context under which the containers run
48securityContext:
Elia Battiston150669d2022-03-14 18:44:41 +010049 enabled: false
Elia Battiston98458082022-02-28 19:07:43 +010050 fsGroup: 1001
51 runAsUser: 1001
52 runAsGroup: 1001
53
54# Define connectivity to required services
55services:
Elia Battistonf14037f2022-07-15 15:12:42 +000056 kafka:
57 cluster:
58 address: "{{ .Values.global.voltha_infra_name }}-kafka.{{ .Values.global.voltha_infra_namespace }}.svc:9092"
Elia Battistonf964e1f2022-08-17 12:01:50 +000059 kv_store:
60 type: "etcd"
61 address: "{{ .Values.global.voltha_infra_name }}-etcd.{{ .Values.global.voltha_infra_namespace }}.svc:2379"
Elia Battiston98458082022-02-28 19:07:43 +010062 # Define Tracing Agent connection details
63 tracing_agent:
Elia Battistonf14037f2022-07-15 15:12:42 +000064 address: "{{ .Values.global.voltha_infra_name }}-voltha-tracing-jaeger-agent.{{ .Values.global.voltha_infra_namespace }}.svc:6831"
Elia Battiston98458082022-02-28 19:07:43 +010065
66# Define the replica count for everything
67replicas:
68 bbf_adapter: 1
69
70voltha_northbound_bbf_adapter:
Elia Battistonf964e1f2022-08-17 12:01:50 +000071 kv_store_timeout: "5s"
72 kv_store_data_prefix: 'service/voltha/{{ .Release.Name }}_{{ .Values.global.voltha_stack_name }}'
Elia Battistonfd151c62022-04-04 16:42:48 +020073 log_netopeer2: false # If set to true netopeer2.log is created in the root of the container
Elia Battiston98458082022-02-28 19:07:43 +010074 log_level: '{{ .Values.global.log_level }}'
Elia Battiston150669d2022-03-14 18:44:41 +010075 voltha_nbi_port: 55555
76 tls_enabled: false
77 tls_verify: false
78 onos_rest_port: 8181
79 onos_user: onos
80 onos_pass: rocks
Elia Battistonfd151c62022-04-04 16:42:48 +020081 schema_mount_path: "/schema-mount.xml"
Elia Battiston98458082022-02-28 19:07:43 +010082
83images:
84 voltha_northbound_bbf_adapter:
85 registry: '{{ .Values.global.image_registry }}'
86 repository: '{{ .Values.global.image_org }}voltha-northbound-bbf-adapter'
87 tag: '{{- if hasKey .Values.global "image_tag" }}{{- if .Values.global.image_tag }}{{ .Values.global.image_tag }}{{- else }}{{ .Chart.AppVersion }}{{- end }}{{- else }}{{ .Chart.AppVersion }}{{- end }}'
88 pullPolicy: '{{ .Values.global.image_pullPolicy | default "Always" }}'
89
90# Define scheduling rules for stack pods
91scheduleRules:
92 preferStackPodsOnSameNode: false
93 preferStacksOnDifferentNodes: false