| Joey Armstrong | 084e447 | 2024-02-10 18:03:13 -0500 | [diff] [blame] | 1 | # Copyright 2022-2024 Open Networking Foundation (ONF) and the ONF Contributors |
| Tinoj Joseph | dd1fd9d | 2022-08-01 23:59:26 +0530 | [diff] [blame] | 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 | # Default values for voltha-go-controller. |
| 16 | # This is a YAML-formatted file. |
| 17 | # Declare variables to be passed into your templates. |
| 18 | |
| Abhay Kumar | 733f4fa | 2025-12-09 12:19:11 +0000 | [diff] [blame^] | 19 | nameOverride: ~ |
| 20 | fullNameOverride: ~ |
| 21 | |
| Tinoj Joseph | dd1fd9d | 2022-08-01 23:59:26 +0530 | [diff] [blame] | 22 | global: |
| 23 | stack_name: voltha |
| 24 | log_level: "WARN" |
| 25 | voltha_infra_name: "voltha-infra" |
| 26 | voltha_infra_namespace: "infra" |
| 27 | image_registry: "" |
| 28 | image_tag: ~ |
| 29 | image_org: "voltha/" |
| 30 | image_pullPolicy: "IfNotPresent" |
| 31 | |
| 32 | image: |
| 33 | repository: nginx |
| 34 | tag: stable |
| 35 | pullPolicy: IfNotPresent |
| 36 | |
| 37 | voltha_go_controller: |
| 38 | sshPort: 8101 |
| 39 | uiPort: 8181 |
| 40 | ofPort: 6653 |
| 41 | uiProtocol: TCP |
| abhayk | fee1b0d | 2025-01-13 19:57:04 +0530 | [diff] [blame] | 42 | endpoints: |
| 43 | address: '{{ template "fullname" . }}' |
| Tinoj Joseph | dd1fd9d | 2022-08-01 23:59:26 +0530 | [diff] [blame] | 44 | |
| 45 | images: |
| 46 | voltha_go_controller: |
| 47 | registry: '{{ .Values.global.image_registry }}' |
| 48 | repository: '{{ .Values.global.image_org }}voltha-go-controller' |
| 49 | tag: '{{- if hasKey .Values.global "image_tag" }}{{- if .Values.global.image_tag }}{{ .Values.global.image_tag }}{{- else }}{{ .Chart.AppVersion }}{{- end }}{{- else }}{{ .Chart.AppVersion }}{{- end }}' |
| 50 | pullPolicy: '{{ .Values.global.image_pullPolicy | default "Always" }}' |
| 51 | |
| 52 | imagePullSecrets: [] |
| Tinoj Joseph | dd1fd9d | 2022-08-01 23:59:26 +0530 | [diff] [blame] | 53 | |
| 54 | serviceAccount: |
| 55 | # Specifies whether a service account should be created |
| 56 | create: true |
| 57 | # The name of the service account to use. |
| 58 | # If not set and create is true, a name is generated using the fullname template |
| 59 | name: |
| 60 | |
| 61 | podSecurityContext: {} |
| 62 | # fsGroup: 2000 |
| 63 | |
| abhay | 4a45cc8 | 2025-01-10 21:32:07 +0530 | [diff] [blame] | 64 | securityContext: |
| 65 | enabled: true |
| 66 | fsGroup: 1001 |
| 67 | runAsUser: 1001 |
| 68 | runAsGroup: 1001 |
| Tinoj Joseph | dd1fd9d | 2022-08-01 23:59:26 +0530 | [diff] [blame] | 69 | |
| 70 | service: |
| 71 | type: ClusterIP |
| 72 | port: 80 |
| 73 | |
| 74 | ingress: |
| 75 | enabled: false |
| 76 | annotations: {} |
| 77 | # kubernetes.io/ingress.class: nginx |
| 78 | # kubernetes.io/tls-acme: "true" |
| 79 | hosts: |
| 80 | - host: chart-example.local |
| 81 | paths: [] |
| 82 | |
| 83 | tls: [] |
| 84 | # - secretName: chart-example-tls |
| 85 | # hosts: |
| 86 | # - chart-example.local |
| 87 | |
| abhay | 4a45cc8 | 2025-01-10 21:32:07 +0530 | [diff] [blame] | 88 | resources: |
| Tinoj Joseph | dd1fd9d | 2022-08-01 23:59:26 +0530 | [diff] [blame] | 89 | # We usually recommend not to specify default resources and to leave this as a conscious |
| 90 | # choice for the user. This also increases chances charts run on environments with little |
| 91 | # resources, such as Minikube. If you do want to specify resources, uncomment the following |
| 92 | # lines, adjust them as necessary, and remove the curly braces after 'resources:'. |
| abhay | 4a45cc8 | 2025-01-10 21:32:07 +0530 | [diff] [blame] | 93 | requests: |
| 94 | cpu: 100m |
| 95 | memory: 128Mi |
| 96 | limits: |
| 97 | cpu: 200m |
| 98 | memory: 256Mi |
| 99 | |
| 100 | #Probe |
| 101 | probe: |
| 102 | liveness: |
| 103 | initial_delay_seconds: 3 |
| 104 | period_seconds: 3 |
| 105 | readiness: |
| 106 | initial_delay_seconds: 3 |
| 107 | period_seconds: 3 |
| Tinoj Joseph | dd1fd9d | 2022-08-01 23:59:26 +0530 | [diff] [blame] | 108 | |
| 109 | nodeSelector: {} |
| 110 | |
| 111 | tolerations: [] |
| 112 | |
| 113 | affinity: {} |
| Akash Soni | a02e998 | 2022-12-09 10:11:41 +0530 | [diff] [blame] | 114 | |
| 115 | # Define connectivity to required services |
| 116 | services: |
| 117 | kafka: |
| 118 | cluster: |
| 119 | address: kafka:9092 |
| abhay | cd29506 | 2024-12-12 11:05:07 +0530 | [diff] [blame] | 120 | kvstore: |
| 121 | # type: etcd, redis or redis-sentinel |
| abhayk | 0d1cf56 | 2025-01-11 13:59:15 +0530 | [diff] [blame] | 122 | type: "etcd" |
| 123 | address: "voltha-infra-etcd-headless.infra.svc.cluster.local" |
| 124 | port: "2379" |