David Bainbridge | cd30e54 | 2019-05-31 20:52:56 +0000 | [diff] [blame] | 1 | # 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 Bainbridge | 8595b3b | 2020-06-05 12:23:05 -0700 | [diff] [blame] | 14 | --- |
David Bainbridge | 2bdd430 | 2020-06-09 17:13:18 -0700 | [diff] [blame] | 15 | nameOverride: ~ |
| 16 | fullNameOverride: ~ |
David Bainbridge | cd30e54 | 2019-05-31 20:52:56 +0000 | [diff] [blame] | 17 | |
David Bainbridge | cd30e54 | 2019-05-31 20:52:56 +0000 | [diff] [blame] | 18 | # Default overrides |
Matteo Scandolo | b4c5f4e | 2020-11-11 12:05:23 -0800 | [diff] [blame] | 19 | global: |
| 20 | stack_name: voltha |
Matteo Scandolo | 1d7ab92 | 2019-12-10 13:41:23 -0800 | [diff] [blame] | 21 | log_level: "WARN" |
David Bainbridge | 5cb5d17 | 2019-07-24 02:30:19 +0000 | [diff] [blame] | 22 | image_registry: "" |
Andy Bavier | 9a4566b | 2019-11-05 09:24:58 -0700 | [diff] [blame] | 23 | image_tag: ~ |
David Bainbridge | 5cb5d17 | 2019-07-24 02:30:19 +0000 | [diff] [blame] | 24 | image_org: "voltha/" |
| 25 | image_pullPolicy: "Always" |
Andrea Campanella | 6838a80 | 2020-11-19 15:50:23 +0100 | [diff] [blame] | 26 | adapter_open_olt: |
| 27 | timeout: "5s" |
Girish Gowdra | e8c44bd | 2021-03-17 10:30:44 -0700 | [diff] [blame] | 28 | heartbeat_check_interval: "15s" |
| 29 | heartbeat_fail_interval: "31s" |
David Bainbridge | 8595b3b | 2020-06-05 12:23:05 -0700 | [diff] [blame] | 30 | |
kesavand | 00d081e | 2020-08-31 11:47:44 +0530 | [diff] [blame] | 31 | #enable OMCC encryption |
| 32 | omcc_encryption: false |
Gamze Abaka | ba10c7b | 2020-12-17 14:37:25 +0000 | [diff] [blame] | 33 | #enable ONU stats |
| 34 | enable_onu_stats: false |
| 35 | #enable GEM stats |
| 36 | enable_gem_stats: false |
David Bainbridge | cd30e54 | 2019-05-31 20:52:56 +0000 | [diff] [blame] | 37 | |
Matteo Scandolo | b4c5f4e | 2020-11-11 12:05:23 -0800 | [diff] [blame] | 38 | # Configure Log Correlation |
| 39 | log_correlation: |
| 40 | enabled: true |
| 41 | |
| 42 | # Configure Tracing |
| 43 | tracing: |
| 44 | enabled: true |
| 45 | |
David Bainbridge | 8595b3b | 2020-06-05 12:23:05 -0700 | [diff] [blame] | 46 | # Default security context under which the containers run |
| 47 | securityContext: |
| 48 | enabled: true |
| 49 | fsGroup: 1001 |
| 50 | runAsUser: 1001 |
| 51 | runAsGroup: 1001 |
| 52 | |
Girish Gowdra | 1223151 | 2020-06-29 13:00:48 -0700 | [diff] [blame] | 53 | # Node Affinity Configuration |
| 54 | nodeAffinityConfig: |
| 55 | enabled: false |
| 56 | node_label_key: "in-band" |
| 57 | node_label_value: "yes" |
| 58 | |
David Bainbridge | cd30e54 | 2019-05-31 20:52:56 +0000 | [diff] [blame] | 59 | # Define connectivity to required services |
| 60 | services: |
| 61 | kafka: |
| 62 | adapter: |
Neha Sharma | 1a3da1c | 2020-06-24 13:12:48 +0000 | [diff] [blame] | 63 | address: kafka:9092 |
David Bainbridge | cd30e54 | 2019-05-31 20:52:56 +0000 | [diff] [blame] | 64 | cluster: |
Neha Sharma | 1a3da1c | 2020-06-24 13:12:48 +0000 | [diff] [blame] | 65 | address: kafka:9092 |
Matteo Scandolo | 1d7ab92 | 2019-12-10 13:41:23 -0800 | [diff] [blame] | 66 | |
David Bainbridge | cd30e54 | 2019-05-31 20:52:56 +0000 | [diff] [blame] | 67 | # Define connectivity to etcd |
| 68 | etcd: |
Neha Sharma | 1a3da1c | 2020-06-24 13:12:48 +0000 | [diff] [blame] | 69 | address: etcd:2379 |
David Bainbridge | cd30e54 | 2019-05-31 20:52:56 +0000 | [diff] [blame] | 70 | |
Girish Kumar | 877af92 | 2020-07-31 06:05:32 +0000 | [diff] [blame] | 71 | # Define Tracing Agent connection details |
| 72 | tracing_agent: |
| 73 | address: jaeger-agent:6831 |
| 74 | |
Matteo Scandolo | e9a01f7 | 2020-05-05 09:33:59 -0700 | [diff] [blame] | 75 | # Expose the golang pprof webserver, if enabled |
| 76 | profiler: |
| 77 | enabled: false |
| 78 | |
Girish Gowdra | e8c44bd | 2021-03-17 10:30:44 -0700 | [diff] [blame] | 79 | # Define the replica count for everything |
David Bainbridge | cd30e54 | 2019-05-31 20:52:56 +0000 | [diff] [blame] | 80 | replicas: |
serkant.uluderya | f1b8cc7 | 2020-05-13 23:26:51 -0700 | [diff] [blame] | 81 | current_replica: 1 |
| 82 | total_replica: 1 |
David Bainbridge | cd30e54 | 2019-05-31 20:52:56 +0000 | [diff] [blame] | 83 | |
Matteo Scandolo | 1d7ab92 | 2019-12-10 13:41:23 -0800 | [diff] [blame] | 84 | adapter_open_olt: |
Matteo Scandolo | b4c5f4e | 2020-11-11 12:05:23 -0800 | [diff] [blame] | 85 | log_level: '{{ .Values.global.log_level }}' |
| 86 | kv_store_timeout: '{{ .Values.global.adapter_open_olt.timeout }}' |
| 87 | kv_store_data_prefix: 'service/{{ .Values.global.stack_name }}_voltha' |
Girish Gowdra | e8c44bd | 2021-03-17 10:30:44 -0700 | [diff] [blame] | 88 | heartbeat_check_interval: '{{ .Values.global.adapter_open_olt.heartbeat_check_interval }}' |
| 89 | heartbeat_fail_interval: '{{ .Values.global.adapter_open_olt.heartbeat_fail_interval }}' |
Matteo Scandolo | b4c5f4e | 2020-11-11 12:05:23 -0800 | [diff] [blame] | 90 | topics: |
| 91 | core_topic: "{{ .Values.global.stack_name }}_rwcore" |
| 92 | adapter_open_olt_topic: "{{ .Values.global.stack_name }}_openolt" |
Matteo Scandolo | 06ee58c | 2021-05-26 15:28:51 -0700 | [diff] [blame] | 93 | event_topic: "voltha.events" |
Matteo Scandolo | 1d7ab92 | 2019-12-10 13:41:23 -0800 | [diff] [blame] | 94 | |
David Bainbridge | cd30e54 | 2019-05-31 20:52:56 +0000 | [diff] [blame] | 95 | images: |
| 96 | adapter_open_olt: |
Matteo Scandolo | b4c5f4e | 2020-11-11 12:05:23 -0800 | [diff] [blame] | 97 | registry: '{{ .Values.global.image_registry }}' |
| 98 | repository: '{{ .Values.global.image_org }}voltha-openolt-adapter' |
| 99 | tag: '{{- if hasKey .Values.global "image_tag" }}{{- if .Values.global.image_tag }}{{ .Values.global.image_tag }}{{- else }}{{ .Chart.AppVersion }}{{- end }}{{- else }}{{ .Chart.AppVersion }}{{- end }}' |
| 100 | pullPolicy: '{{ .Values.global.image_pullPolicy | default "Always" }}' |