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 |
| 19 | defaults: |
Matteo Scandolo | 1d7ab92 | 2019-12-10 13:41:23 -0800 | [diff] [blame] | 20 | log_level: "WARN" |
David Bainbridge | 5cb5d17 | 2019-07-24 02:30:19 +0000 | [diff] [blame] | 21 | image_registry: "" |
Andy Bavier | 9a4566b | 2019-11-05 09:24:58 -0700 | [diff] [blame] | 22 | image_tag: ~ |
David Bainbridge | 5cb5d17 | 2019-07-24 02:30:19 +0000 | [diff] [blame] | 23 | image_org: "voltha/" |
| 24 | image_pullPolicy: "Always" |
Andrea Campanella | 6838a80 | 2020-11-19 15:50:23 +0100 | [diff] [blame] | 25 | adapter_open_olt: |
| 26 | timeout: "5s" |
serkant.uluderya | f1b8cc7 | 2020-05-13 23:26:51 -0700 | [diff] [blame] | 27 | topics: |
| 28 | core_topic: "rwcore" |
| 29 | adapter_open_olt_topic: "openolt" |
David Bainbridge | 8595b3b | 2020-06-05 12:23:05 -0700 | [diff] [blame] | 30 | |
serkant.uluderya | f1b8cc7 | 2020-05-13 23:26:51 -0700 | [diff] [blame] | 31 | # Define prefix path for etcd |
David Bainbridge | 8595b3b | 2020-06-05 12:23:05 -0700 | [diff] [blame] | 32 | # If you're running multiple voltha stacks the this value |
serkant.uluderya | f1b8cc7 | 2020-05-13 23:26:51 -0700 | [diff] [blame] | 33 | # should be unique across the stacks. |
| 34 | kv_store_data_prefix: "service/voltha" |
kesavand | 00d081e | 2020-08-31 11:47:44 +0530 | [diff] [blame] | 35 | #enable OMCC encryption |
| 36 | omcc_encryption: false |
David Bainbridge | cd30e54 | 2019-05-31 20:52:56 +0000 | [diff] [blame] | 37 | |
David Bainbridge | 8595b3b | 2020-06-05 12:23:05 -0700 | [diff] [blame] | 38 | # Default security context under which the containers run |
| 39 | securityContext: |
| 40 | enabled: true |
| 41 | fsGroup: 1001 |
| 42 | runAsUser: 1001 |
| 43 | runAsGroup: 1001 |
| 44 | |
Girish Gowdra | 1223151 | 2020-06-29 13:00:48 -0700 | [diff] [blame] | 45 | # Node Affinity Configuration |
| 46 | nodeAffinityConfig: |
| 47 | enabled: false |
| 48 | node_label_key: "in-band" |
| 49 | node_label_value: "yes" |
| 50 | |
David Bainbridge | cd30e54 | 2019-05-31 20:52:56 +0000 | [diff] [blame] | 51 | # Define connectivity to required services |
| 52 | services: |
| 53 | kafka: |
| 54 | adapter: |
Neha Sharma | 1a3da1c | 2020-06-24 13:12:48 +0000 | [diff] [blame] | 55 | address: kafka:9092 |
David Bainbridge | cd30e54 | 2019-05-31 20:52:56 +0000 | [diff] [blame] | 56 | cluster: |
Neha Sharma | 1a3da1c | 2020-06-24 13:12:48 +0000 | [diff] [blame] | 57 | address: kafka:9092 |
Matteo Scandolo | 1d7ab92 | 2019-12-10 13:41:23 -0800 | [diff] [blame] | 58 | |
David Bainbridge | cd30e54 | 2019-05-31 20:52:56 +0000 | [diff] [blame] | 59 | # Define connectivity to etcd |
| 60 | etcd: |
Neha Sharma | 1a3da1c | 2020-06-24 13:12:48 +0000 | [diff] [blame] | 61 | address: etcd:2379 |
David Bainbridge | cd30e54 | 2019-05-31 20:52:56 +0000 | [diff] [blame] | 62 | |
Girish Kumar | 877af92 | 2020-07-31 06:05:32 +0000 | [diff] [blame] | 63 | # Define Tracing Agent connection details |
| 64 | tracing_agent: |
| 65 | address: jaeger-agent:6831 |
| 66 | |
Matteo Scandolo | e9a01f7 | 2020-05-05 09:33:59 -0700 | [diff] [blame] | 67 | # Expose the golang pprof webserver, if enabled |
| 68 | profiler: |
| 69 | enabled: false |
| 70 | |
Girish Kumar | 877af92 | 2020-07-31 06:05:32 +0000 | [diff] [blame] | 71 | # Configure Log Correlation |
| 72 | log_correlation: |
| 73 | enabled: true |
| 74 | |
| 75 | # Configure Tracing |
| 76 | tracing: |
| 77 | enabled: true |
| 78 | |
David Bainbridge | cd30e54 | 2019-05-31 20:52:56 +0000 | [diff] [blame] | 79 | # Define the recplica count for everything |
| 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: |
| 85 | log_level: '{{ .Values.defaults.log_level }}' |
Andrea Campanella | 6838a80 | 2020-11-19 15:50:23 +0100 | [diff] [blame] | 86 | kv_store_timeout: '{{ .Values.defaults.adapter_open_olt.timeout }}' |
Matteo Scandolo | 1d7ab92 | 2019-12-10 13:41:23 -0800 | [diff] [blame] | 87 | |
David Bainbridge | cd30e54 | 2019-05-31 20:52:56 +0000 | [diff] [blame] | 88 | images: |
| 89 | adapter_open_olt: |
David Bainbridge | 5cb5d17 | 2019-07-24 02:30:19 +0000 | [diff] [blame] | 90 | registry: '{{ .Values.defaults.image_registry }}' |
| 91 | repository: '{{ .Values.defaults.image_org }}voltha-openolt-adapter' |
Andy Bavier | 9a4566b | 2019-11-05 09:24:58 -0700 | [diff] [blame] | 92 | 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 Bainbridge | cd30e54 | 2019-05-31 20:52:56 +0000 | [diff] [blame] | 93 | pullPolicy: '{{ .Values.defaults.image_pullPolicy | default "Always" }}' |