blob: 22b67d31424de20500e2a6f739bce647361f9bcd [file] [log] [blame]
Joey Armstrong084e4472024-02-10 18:03:13 -05001# Copyright 2022-2024 Open Networking Foundation (ONF) and the ONF Contributors
Tinoj Josephdd1fd9d2022-08-01 23:59:26 +05302#
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 Kumar733f4fa2025-12-09 12:19:11 +000019nameOverride: ~
20fullNameOverride: ~
21
Tinoj Josephdd1fd9d2022-08-01 23:59:26 +053022global:
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
32image:
33 repository: nginx
34 tag: stable
35 pullPolicy: IfNotPresent
36
37voltha_go_controller:
38 sshPort: 8101
39 uiPort: 8181
40 ofPort: 6653
41 uiProtocol: TCP
abhaykfee1b0d2025-01-13 19:57:04 +053042 endpoints:
43 address: '{{ template "fullname" . }}'
Tinoj Josephdd1fd9d2022-08-01 23:59:26 +053044
45images:
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
52imagePullSecrets: []
Tinoj Josephdd1fd9d2022-08-01 23:59:26 +053053
54serviceAccount:
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
61podSecurityContext: {}
62 # fsGroup: 2000
63
abhay4a45cc82025-01-10 21:32:07 +053064securityContext:
65 enabled: true
66 fsGroup: 1001
67 runAsUser: 1001
68 runAsGroup: 1001
Tinoj Josephdd1fd9d2022-08-01 23:59:26 +053069
70service:
71 type: ClusterIP
72 port: 80
73
74ingress:
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
abhay4a45cc82025-01-10 21:32:07 +053088resources:
Tinoj Josephdd1fd9d2022-08-01 23:59:26 +053089 # 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:'.
abhay4a45cc82025-01-10 21:32:07 +053093 requests:
94 cpu: 100m
95 memory: 128Mi
96 limits:
97 cpu: 200m
98 memory: 256Mi
99
100#Probe
101probe:
102 liveness:
103 initial_delay_seconds: 3
104 period_seconds: 3
105 readiness:
106 initial_delay_seconds: 3
107 period_seconds: 3
Tinoj Josephdd1fd9d2022-08-01 23:59:26 +0530108
109nodeSelector: {}
110
111tolerations: []
112
113affinity: {}
Akash Sonia02e9982022-12-09 10:11:41 +0530114
115# Define connectivity to required services
116services:
117 kafka:
118 cluster:
119 address: kafka:9092
abhaycd295062024-12-12 11:05:07 +0530120 kvstore:
121 # type: etcd, redis or redis-sentinel
abhayk0d1cf562025-01-11 13:59:15 +0530122 type: "etcd"
123 address: "voltha-infra-etcd-headless.infra.svc.cluster.local"
124 port: "2379"
Abhay Kumar2955cea2025-12-23 08:31:20 +0000125
126serviceMonitor:
127 enable: false