Joey Armstrong | 34d4ad7 | 2023-01-03 09:47:15 -0500 | [diff] [blame] | 1 | # Copyright 2022-2023 Open Networking Foundation (ONF) and the ONF Contributors |
Elia Battiston | 9845808 | 2022-02-28 19:07:43 +0100 | [diff] [blame] | 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 | nameOverride: ~ |
| 16 | fullNameOverride: ~ |
| 17 | |
| 18 | # Default overrides |
| 19 | global: |
| 20 | log_level: "WARN" |
| 21 | image_registry: "" |
| 22 | image_tag: ~ |
| 23 | image_org: "voltha/" |
| 24 | image_pullPolicy: "Always" |
Elia Battiston | 150669d | 2022-03-14 18:44:41 +0100 | [diff] [blame] | 25 | voltha_infra_name: "voltha-infra" |
| 26 | voltha_infra_namespace: "infra" |
| 27 | voltha_stack_name: "voltha" |
| 28 | voltha_stack_namespace: "voltha" |
Elia Battiston | 9845808 | 2022-02-28 19:07:43 +0100 | [diff] [blame] | 29 | |
| 30 | # Configure Log Correlation |
| 31 | log_correlation: |
| 32 | enabled: true |
| 33 | |
| 34 | # Configure Tracing |
| 35 | tracing: |
| 36 | enabled: true |
| 37 | |
| 38 | # Probe values |
| 39 | probe: |
| 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 |
| 48 | securityContext: |
Elia Battiston | 150669d | 2022-03-14 18:44:41 +0100 | [diff] [blame] | 49 | enabled: false |
Elia Battiston | 9845808 | 2022-02-28 19:07:43 +0100 | [diff] [blame] | 50 | fsGroup: 1001 |
| 51 | runAsUser: 1001 |
| 52 | runAsGroup: 1001 |
| 53 | |
| 54 | # Define connectivity to required services |
| 55 | services: |
Elia Battiston | f14037f | 2022-07-15 15:12:42 +0000 | [diff] [blame] | 56 | kafka: |
| 57 | cluster: |
| 58 | address: "{{ .Values.global.voltha_infra_name }}-kafka.{{ .Values.global.voltha_infra_namespace }}.svc:9092" |
Elia Battiston | f964e1f | 2022-08-17 12:01:50 +0000 | [diff] [blame] | 59 | kv_store: |
| 60 | type: "etcd" |
| 61 | address: "{{ .Values.global.voltha_infra_name }}-etcd.{{ .Values.global.voltha_infra_namespace }}.svc:2379" |
Elia Battiston | 9845808 | 2022-02-28 19:07:43 +0100 | [diff] [blame] | 62 | # Define Tracing Agent connection details |
| 63 | tracing_agent: |
Elia Battiston | f14037f | 2022-07-15 15:12:42 +0000 | [diff] [blame] | 64 | address: "{{ .Values.global.voltha_infra_name }}-voltha-tracing-jaeger-agent.{{ .Values.global.voltha_infra_namespace }}.svc:6831" |
Elia Battiston | 9845808 | 2022-02-28 19:07:43 +0100 | [diff] [blame] | 65 | |
| 66 | # Define the replica count for everything |
| 67 | replicas: |
| 68 | bbf_adapter: 1 |
| 69 | |
| 70 | voltha_northbound_bbf_adapter: |
Elia Battiston | f964e1f | 2022-08-17 12:01:50 +0000 | [diff] [blame] | 71 | kv_store_timeout: "5s" |
| 72 | kv_store_data_prefix: 'service/voltha/{{ .Release.Name }}_{{ .Values.global.voltha_stack_name }}' |
Elia Battiston | fd151c6 | 2022-04-04 16:42:48 +0200 | [diff] [blame] | 73 | log_netopeer2: false # If set to true netopeer2.log is created in the root of the container |
Elia Battiston | 9845808 | 2022-02-28 19:07:43 +0100 | [diff] [blame] | 74 | log_level: '{{ .Values.global.log_level }}' |
Elia Battiston | 150669d | 2022-03-14 18:44:41 +0100 | [diff] [blame] | 75 | 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 Battiston | fd151c6 | 2022-04-04 16:42:48 +0200 | [diff] [blame] | 81 | schema_mount_path: "/schema-mount.xml" |
Elia Battiston | 9845808 | 2022-02-28 19:07:43 +0100 | [diff] [blame] | 82 | |
| 83 | images: |
| 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 |
| 91 | scheduleRules: |
| 92 | preferStackPodsOnSameNode: false |
| 93 | preferStacksOnDifferentNodes: false |