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. |
| 14 | |
| 15 | --- |
| 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" |
David Bainbridge | cd30e54 | 2019-05-31 20:52:56 +0000 | [diff] [blame] | 23 | |
| 24 | # Define connectivity to required services |
| 25 | services: |
| 26 | kafka: |
| 27 | adapter: |
| 28 | service: voltha-kafka.voltha.svc.cluster.local |
| 29 | port: 9092 |
| 30 | cluster: |
| 31 | service: voltha-kafka.voltha.svc.cluster.local |
| 32 | port: 9092 |
Matteo Scandolo | e33ed15 | 2019-12-03 10:47:49 -0800 | [diff] [blame] | 33 | |
David Bainbridge | cd30e54 | 2019-05-31 20:52:56 +0000 | [diff] [blame] | 34 | # Define connectivity to etcd |
| 35 | etcd: |
| 36 | service: voltha-etcd-cluster-client.voltha.svc.cluster.local |
| 37 | port: 2379 |
| 38 | |
| 39 | # Define the recplica count for everything |
| 40 | replicas: |
| 41 | adapter_open_onu: 1 |
| 42 | |
Matteo Scandolo | e33ed15 | 2019-12-03 10:47:49 -0800 | [diff] [blame] | 43 | adapter_open_onu: |
Matteo Scandolo | 1d7ab92 | 2019-12-10 13:41:23 -0800 | [diff] [blame] | 44 | log_level: '{{ .Values.defaults.log_level }}' |
Matteo Scandolo | e33ed15 | 2019-12-03 10:47:49 -0800 | [diff] [blame] | 45 | |
David Bainbridge | cd30e54 | 2019-05-31 20:52:56 +0000 | [diff] [blame] | 46 | images: |
| 47 | adapter_open_onu: |
David Bainbridge | 5cb5d17 | 2019-07-24 02:30:19 +0000 | [diff] [blame] | 48 | registry: '{{ .Values.defaults.image_registry }}' |
| 49 | repository: '{{ .Values.defaults.image_org }}voltha-openonu-adapter' |
Andy Bavier | 9a4566b | 2019-11-05 09:24:58 -0700 | [diff] [blame] | 50 | 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 | 5cb5d17 | 2019-07-24 02:30:19 +0000 | [diff] [blame] | 51 | pullPolicy: '{{ .Values.defaults.image_pullPolicy }}' |