Zack Williams | c6202fe | 2020-03-26 10:55:40 -0700 | [diff] [blame] | 1 | --- |
David Bainbridge | 2f9b76f | 2019-05-15 13:48:11 -0700 | [diff] [blame] | 2 | # Copyright 2019-present Open Networking Foundation |
| 3 | # |
| 4 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | # you may not use this file except in compliance with the License. |
| 6 | # You may obtain a copy of the License at |
| 7 | # |
| 8 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | # |
| 10 | # Unless required by applicable law or agreed to in writing, software |
| 11 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | # See the License for the specific language governing permissions and |
| 14 | # limitations under the License. |
| 15 | |
David Bainbridge | 60332ae | 2019-10-11 15:04:13 +0000 | [diff] [blame] | 16 | # Default Values |
| 17 | # The following are the default values used for every container in the |
| 18 | # template. |
David Bainbridge | cd30e54 | 2019-05-31 20:52:56 +0000 | [diff] [blame] | 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: '' |
Kent Hagerman | 42101a8 | 2019-06-12 12:52:39 -0400 | [diff] [blame] | 22 | image_org: "voltha/" |
David Bainbridge | 60332ae | 2019-10-11 15:04:13 +0000 | [diff] [blame] | 23 | image_tag: ~ |
Kent Hagerman | 42101a8 | 2019-06-12 12:52:39 -0400 | [diff] [blame] | 24 | image_pullPolicy: "Always" |
David Bainbridge | cd30e54 | 2019-05-31 20:52:56 +0000 | [diff] [blame] | 25 | rw_core: |
Kent Hagerman | 42101a8 | 2019-06-12 12:52:39 -0400 | [diff] [blame] | 26 | timeout: "8000" |
David Bainbridge | cd30e54 | 2019-05-31 20:52:56 +0000 | [diff] [blame] | 27 | |
David Bainbridge | 16b19cc | 2020-05-29 11:50:44 -0700 | [diff] [blame] | 28 | securityContext: |
| 29 | enabled: true |
| 30 | fsGroup: 1001 |
| 31 | runAsUser: 1001 |
| 32 | runAsGroup: 1001 |
David Bainbridge | 2f9b76f | 2019-05-15 13:48:11 -0700 | [diff] [blame] | 33 | |
| 34 | # Define connectivity to services on which VOLTHA depends |
| 35 | services: |
| 36 | kafka: |
| 37 | adapter: |
David Bainbridge | 16b19cc | 2020-05-29 11:50:44 -0700 | [diff] [blame] | 38 | service: kafka |
David Bainbridge | 2f9b76f | 2019-05-15 13:48:11 -0700 | [diff] [blame] | 39 | port: 9092 |
| 40 | cluster: |
David Bainbridge | 16b19cc | 2020-05-29 11:50:44 -0700 | [diff] [blame] | 41 | service: kafka |
David Bainbridge | 2f9b76f | 2019-05-15 13:48:11 -0700 | [diff] [blame] | 42 | port: 9092 |
| 43 | |
| 44 | # Define connectivity to etcd |
| 45 | etcd: |
David Bainbridge | 16b19cc | 2020-05-29 11:50:44 -0700 | [diff] [blame] | 46 | service: etcd |
David Bainbridge | 2f9b76f | 2019-05-15 13:48:11 -0700 | [diff] [blame] | 47 | port: 2379 |
| 48 | |
Jonathan Hart | 3980b74 | 2020-04-20 11:00:54 -0700 | [diff] [blame] | 49 | # Define the list of controllers to connect to |
David Bainbridge | 2f9b76f | 2019-05-15 13:48:11 -0700 | [diff] [blame] | 50 | controller: |
David Bainbridge | 16b19cc | 2020-05-29 11:50:44 -0700 | [diff] [blame] | 51 | - service: onos-openflow |
Jonathan Hart | 3980b74 | 2020-04-20 11:00:54 -0700 | [diff] [blame] | 52 | port: 6653 |
David Bainbridge | 2f9b76f | 2019-05-15 13:48:11 -0700 | [diff] [blame] | 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 | 2f9b76f | 2019-05-15 13:48:11 -0700 | [diff] [blame] | 58 | # Define the recplica count for everything |
| 59 | replicas: |
| 60 | # For R/W cores the templates translate the number of replicas |
| 61 | # into the number of RW core pairs with two pods per pair |
| 62 | rw_core: 1 |
| 63 | |
| 64 | # For everything else replicas are replicas |
David Bainbridge | 2f9b76f | 2019-05-15 13:48:11 -0700 | [diff] [blame] | 65 | ofagent: 1 |
David Bainbridge | 2f9b76f | 2019-05-15 13:48:11 -0700 | [diff] [blame] | 66 | |
David Bainbridge | cd30e54 | 2019-05-31 20:52:56 +0000 | [diff] [blame] | 67 | rw_core: |
David Bainbridge | 50cb1ef | 2019-07-23 22:36:17 +0000 | [diff] [blame] | 68 | log_level: '{{ .Values.defaults.log_level }}' |
Kent Hagerman | 42101a8 | 2019-06-12 12:52:39 -0400 | [diff] [blame] | 69 | core_timeout: '{{ .Values.defaults.rw_core.timeout }}' |
| 70 | timeout_long_request: '{{ .Values.defaults.rw_core.timeout }}' |
| 71 | timeout_request: '{{ .Values.defaults.rw_core.timeout }}' |
David Bainbridge | cd30e54 | 2019-05-31 20:52:56 +0000 | [diff] [blame] | 72 | |
David K. Bainbridge | 707022f | 2020-01-23 14:15:07 -0800 | [diff] [blame] | 73 | ofagent: |
hwchiu | ea1fb4d | 2020-02-11 19:50:14 +0000 | [diff] [blame] | 74 | log_level: '{{ .Values.defaults.log_level }}' |
David K. Bainbridge | 707022f | 2020-01-23 14:15:07 -0800 | [diff] [blame] | 75 | |
David Bainbridge | 2f9b76f | 2019-05-15 13:48:11 -0700 | [diff] [blame] | 76 | # Define Docker images to be used |
| 77 | images: |
David Bainbridge | 60018ec | 2020-06-02 13:32:30 -0700 | [diff] [blame^] | 78 | ofagent: |
Matteo Scandolo | ccea27b | 2020-03-18 15:25:05 -0700 | [diff] [blame] | 79 | registry: '{{ .Values.defaults.image_registry }}' |
Matteo Scandolo | fc5661e | 2020-03-23 11:38:15 -0700 | [diff] [blame] | 80 | repository: '{{ .Values.defaults.image_org }}voltha-ofagent-go' |
Neha Sharma | e5767ea | 2020-04-08 13:39:57 +0000 | [diff] [blame] | 81 | tag: '{{- if hasKey .Values.defaults "image_tag" }}{{- if .Values.defaults.image_tag }}{{ .Values.defaults.image_tag }}{{- else }}1.2.0{{- end }}{{- else }}1.2.0{{- end }}' |
Matteo Scandolo | ccea27b | 2020-03-18 15:25:05 -0700 | [diff] [blame] | 82 | pullPolicy: '{{ .Values.defaults.image_pullPolicy }}' |
| 83 | |
David Bainbridge | 2f9b76f | 2019-05-15 13:48:11 -0700 | [diff] [blame] | 84 | rw_core: |
Kent Hagerman | 42101a8 | 2019-06-12 12:52:39 -0400 | [diff] [blame] | 85 | registry: '{{ .Values.defaults.image_registry }}' |
| 86 | repository: '{{ .Values.defaults.image_org }}voltha-rw-core' |
Neha Sharma | e5767ea | 2020-04-08 13:39:57 +0000 | [diff] [blame] | 87 | tag: '{{- if hasKey .Values.defaults "image_tag" }}{{- if .Values.defaults.image_tag }}{{ .Values.defaults.image_tag }}{{- else }}2.4.1{{- end }}{{- else }}2.4.1{{- end }}' |
Kent Hagerman | 42101a8 | 2019-06-12 12:52:39 -0400 | [diff] [blame] | 88 | pullPolicy: '{{ .Values.defaults.image_pullPolicy }}' |