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