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