David Bainbridge | 2f9b76f | 2019-05-15 13:48:11 -0700 | [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 | 2f9b76f | 2019-05-15 13:48:11 -0700 | [diff] [blame] | 14 | --- |
David Bainbridge | 8595b3b | 2020-06-05 12:23:05 -0700 | [diff] [blame^] | 15 | |
David Bainbridge | cd30e54 | 2019-05-31 20:52:56 +0000 | [diff] [blame] | 16 | # Default overrides |
| 17 | defaults: |
David Bainbridge | 5cb5d17 | 2019-07-24 02:30:19 +0000 | [diff] [blame] | 18 | image_registry: "" |
David Bainbridge | 5cb5d17 | 2019-07-24 02:30:19 +0000 | [diff] [blame] | 19 | image_org: "voltha/" |
| 20 | image_pullPolicy: "Always" |
David Bainbridge | aa24b00 | 2019-10-16 16:07:12 +0000 | [diff] [blame] | 21 | image_tag: ~ |
David Bainbridge | 2f9b76f | 2019-05-15 13:48:11 -0700 | [diff] [blame] | 22 | |
David Bainbridge | 8595b3b | 2020-06-05 12:23:05 -0700 | [diff] [blame^] | 23 | # Default security context under which the containers run |
| 24 | securityContext: |
| 25 | enabled: true |
| 26 | fsGroup: 1001 |
| 27 | runAsUser: 1001 |
| 28 | runAsGroup: 1001 |
| 29 | |
David Bainbridge | 2f9b76f | 2019-05-15 13:48:11 -0700 | [diff] [blame] | 30 | # Define connectivity to required services |
| 31 | services: |
| 32 | kafka: |
| 33 | adapter: |
| 34 | service: voltha-kafka.voltha.svc.cluster.local |
| 35 | port: 9092 |
| 36 | cluster: |
| 37 | service: voltha-kafka.voltha.svc.cluster.local |
| 38 | port: 9092 |
David Bainbridge | eb3e858 | 2019-07-31 20:42:31 +0000 | [diff] [blame] | 39 | |
David Bainbridge | 2f9b76f | 2019-05-15 13:48:11 -0700 | [diff] [blame] | 40 | # Define connectivity to etcd |
| 41 | etcd: |
| 42 | service: voltha-etcd-cluster-client.voltha.svc.cluster.local |
| 43 | port: 2379 |
| 44 | |
| 45 | # Define the recplica count for everything |
| 46 | replicas: |
| 47 | adapter_simulated_olt: 1 |
| 48 | adapter_simulated_onu: 1 |
David Bainbridge | eb3e858 | 2019-07-31 20:42:31 +0000 | [diff] [blame] | 49 | |
| 50 | onus_per_pon_port: 4 |
David Bainbridge | 2f9b76f | 2019-05-15 13:48:11 -0700 | [diff] [blame] | 51 | |
| 52 | images: |
| 53 | adapter_simulated_olt: |
David Bainbridge | 5cb5d17 | 2019-07-24 02:30:19 +0000 | [diff] [blame] | 54 | registry: '{{ .Values.defaults.image_registry }}' |
| 55 | repository: '{{ .Values.defaults.image_org }}voltha-adapter-simulated-olt' |
Scott Baker | 1cbd70e | 2020-02-19 10:22:50 -0800 | [diff] [blame] | 56 | tag: '{{- if hasKey .Values.defaults "image_tag" }}{{- if .Values.defaults.image_tag }}{{ .Values.defaults.image_tag }}{{- else }}2.2.3{{- end }}{{- else }}2.2.3{{- end }}' |
David Bainbridge | 5cb5d17 | 2019-07-24 02:30:19 +0000 | [diff] [blame] | 57 | pullPolicy: '{{ .Values.defaults.image_pullPolicy }}' |
David Bainbridge | 2f9b76f | 2019-05-15 13:48:11 -0700 | [diff] [blame] | 58 | |
| 59 | adapter_simulated_onu: |
David Bainbridge | 5cb5d17 | 2019-07-24 02:30:19 +0000 | [diff] [blame] | 60 | registry: '{{ .Values.defaults.image_registry }}' |
| 61 | repository: '{{ .Values.defaults.image_org }}voltha-adapter-simulated-onu' |
Scott Baker | 1cbd70e | 2020-02-19 10:22:50 -0800 | [diff] [blame] | 62 | tag: '{{- if hasKey .Values.defaults "image_tag" }}{{- if .Values.defaults.image_tag }}{{ .Values.defaults.image_tag }}{{- else }}2.2.3{{- end }}{{- else }}2.2.3{{- end }}' |
David Bainbridge | 5cb5d17 | 2019-07-24 02:30:19 +0000 | [diff] [blame] | 63 | pullPolicy: '{{ .Values.defaults.image_pullPolicy }}' |