Elia Battiston | 9845808 | 2022-02-28 19:07:43 +0100 | [diff] [blame] | 1 | # Copyright 2022-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. |
| 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" |
| 25 | |
| 26 | # Configure Log Correlation |
| 27 | log_correlation: |
| 28 | enabled: true |
| 29 | |
| 30 | # Configure Tracing |
| 31 | tracing: |
| 32 | enabled: true |
| 33 | |
| 34 | # Probe values |
| 35 | probe: |
| 36 | liveness: |
| 37 | initial_delay_seconds: 3 |
| 38 | period_seconds: 3 |
| 39 | readiness: |
| 40 | initial_delay_seconds: 3 |
| 41 | period_seconds: 3 |
| 42 | |
| 43 | # Default security context under which the containers run |
| 44 | securityContext: |
| 45 | enabled: true |
| 46 | fsGroup: 1001 |
| 47 | runAsUser: 1001 |
| 48 | runAsGroup: 1001 |
| 49 | |
| 50 | # Define connectivity to required services |
| 51 | services: |
| 52 | # Define Tracing Agent connection details |
| 53 | tracing_agent: |
| 54 | address: jaeger-agent:6831 |
| 55 | |
| 56 | # Define the replica count for everything |
| 57 | replicas: |
| 58 | bbf_adapter: 1 |
| 59 | |
| 60 | voltha_northbound_bbf_adapter: |
| 61 | log_level: '{{ .Values.global.log_level }}' |
| 62 | |
| 63 | images: |
| 64 | voltha_northbound_bbf_adapter: |
| 65 | registry: '{{ .Values.global.image_registry }}' |
| 66 | repository: '{{ .Values.global.image_org }}voltha-northbound-bbf-adapter' |
| 67 | tag: '{{- if hasKey .Values.global "image_tag" }}{{- if .Values.global.image_tag }}{{ .Values.global.image_tag }}{{- else }}{{ .Chart.AppVersion }}{{- end }}{{- else }}{{ .Chart.AppVersion }}{{- end }}' |
| 68 | pullPolicy: '{{ .Values.global.image_pullPolicy | default "Always" }}' |
| 69 | |
| 70 | # Define scheduling rules for stack pods |
| 71 | scheduleRules: |
| 72 | preferStackPodsOnSameNode: false |
| 73 | preferStacksOnDifferentNodes: false |