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 | cd30e54 | 2019-05-31 20:52:56 +0000 | [diff] [blame] | 15 | |
David Bainbridge | cd30e54 | 2019-05-31 20:52:56 +0000 | [diff] [blame] | 16 | # Default overrides |
| 17 | defaults: |
Matteo Scandolo | 1d7ab92 | 2019-12-10 13:41:23 -0800 | [diff] [blame] | 18 | log_level: "WARN" |
David Bainbridge | 5cb5d17 | 2019-07-24 02:30:19 +0000 | [diff] [blame] | 19 | image_registry: "" |
Andy Bavier | 9a4566b | 2019-11-05 09:24:58 -0700 | [diff] [blame] | 20 | image_tag: ~ |
David Bainbridge | 5cb5d17 | 2019-07-24 02:30:19 +0000 | [diff] [blame] | 21 | image_org: "voltha/" |
| 22 | image_pullPolicy: "Always" |
serkant.uluderya | f1b8cc7 | 2020-05-13 23:26:51 -0700 | [diff] [blame] | 23 | topics: |
| 24 | core_topic: "rwcore" |
| 25 | adapter_open_olt_topic: "openolt" |
David Bainbridge | 8595b3b | 2020-06-05 12:23:05 -0700 | [diff] [blame^] | 26 | |
serkant.uluderya | f1b8cc7 | 2020-05-13 23:26:51 -0700 | [diff] [blame] | 27 | # Define prefix path for etcd |
David Bainbridge | 8595b3b | 2020-06-05 12:23:05 -0700 | [diff] [blame^] | 28 | # If you're running multiple voltha stacks the this value |
serkant.uluderya | f1b8cc7 | 2020-05-13 23:26:51 -0700 | [diff] [blame] | 29 | # should be unique across the stacks. |
| 30 | kv_store_data_prefix: "service/voltha" |
David Bainbridge | cd30e54 | 2019-05-31 20:52:56 +0000 | [diff] [blame] | 31 | |
David Bainbridge | 8595b3b | 2020-06-05 12:23:05 -0700 | [diff] [blame^] | 32 | # Default security context under which the containers run |
| 33 | securityContext: |
| 34 | enabled: true |
| 35 | fsGroup: 1001 |
| 36 | runAsUser: 1001 |
| 37 | runAsGroup: 1001 |
| 38 | |
David Bainbridge | cd30e54 | 2019-05-31 20:52:56 +0000 | [diff] [blame] | 39 | # Define connectivity to required services |
| 40 | services: |
| 41 | kafka: |
| 42 | adapter: |
David Bainbridge | 8595b3b | 2020-06-05 12:23:05 -0700 | [diff] [blame^] | 43 | service: kafka |
David Bainbridge | cd30e54 | 2019-05-31 20:52:56 +0000 | [diff] [blame] | 44 | port: 9092 |
| 45 | cluster: |
David Bainbridge | 8595b3b | 2020-06-05 12:23:05 -0700 | [diff] [blame^] | 46 | service: kafka |
David Bainbridge | cd30e54 | 2019-05-31 20:52:56 +0000 | [diff] [blame] | 47 | port: 9092 |
Matteo Scandolo | 1d7ab92 | 2019-12-10 13:41:23 -0800 | [diff] [blame] | 48 | |
David Bainbridge | cd30e54 | 2019-05-31 20:52:56 +0000 | [diff] [blame] | 49 | # Define connectivity to etcd |
| 50 | etcd: |
David Bainbridge | 8595b3b | 2020-06-05 12:23:05 -0700 | [diff] [blame^] | 51 | service: etcd |
David Bainbridge | cd30e54 | 2019-05-31 20:52:56 +0000 | [diff] [blame] | 52 | port: 2379 |
| 53 | |
Matteo Scandolo | e9a01f7 | 2020-05-05 09:33:59 -0700 | [diff] [blame] | 54 | # Expose the golang pprof webserver, if enabled |
| 55 | profiler: |
| 56 | enabled: false |
| 57 | |
David Bainbridge | cd30e54 | 2019-05-31 20:52:56 +0000 | [diff] [blame] | 58 | # Define the recplica count for everything |
| 59 | replicas: |
serkant.uluderya | f1b8cc7 | 2020-05-13 23:26:51 -0700 | [diff] [blame] | 60 | current_replica: 1 |
| 61 | total_replica: 1 |
David Bainbridge | cd30e54 | 2019-05-31 20:52:56 +0000 | [diff] [blame] | 62 | |
Matteo Scandolo | 1d7ab92 | 2019-12-10 13:41:23 -0800 | [diff] [blame] | 63 | adapter_open_olt: |
| 64 | log_level: '{{ .Values.defaults.log_level }}' |
| 65 | |
David Bainbridge | cd30e54 | 2019-05-31 20:52:56 +0000 | [diff] [blame] | 66 | images: |
| 67 | adapter_open_olt: |
David Bainbridge | 5cb5d17 | 2019-07-24 02:30:19 +0000 | [diff] [blame] | 68 | registry: '{{ .Values.defaults.image_registry }}' |
| 69 | repository: '{{ .Values.defaults.image_org }}voltha-openolt-adapter' |
Andy Bavier | 9a4566b | 2019-11-05 09:24:58 -0700 | [diff] [blame] | 70 | 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] | 71 | pullPolicy: '{{ .Values.defaults.image_pullPolicy | default "Always" }}' |