blob: f52276f4f74fa9ee7c642848399cf3141c86b5f5 [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
19replicaCount: 1
20
21global:
22 stack_name: voltha
23 log_level: "WARN"
24 voltha_infra_name: "voltha-infra"
25 voltha_infra_namespace: "infra"
26 image_registry: ""
27 image_tag: ~
28 image_org: "voltha/"
29 image_pullPolicy: "IfNotPresent"
30
31image:
32 repository: nginx
33 tag: stable
34 pullPolicy: IfNotPresent
35
36voltha_go_controller:
37 sshPort: 8101
38 uiPort: 8181
39 ofPort: 6653
40 uiProtocol: TCP
41
42images:
43 voltha_go_controller:
44 registry: '{{ .Values.global.image_registry }}'
45 repository: '{{ .Values.global.image_org }}voltha-go-controller'
46 tag: '{{- if hasKey .Values.global "image_tag" }}{{- if .Values.global.image_tag }}{{ .Values.global.image_tag }}{{- else }}{{ .Chart.AppVersion }}{{- end }}{{- else }}{{ .Chart.AppVersion }}{{- end }}'
47 pullPolicy: '{{ .Values.global.image_pullPolicy | default "Always" }}'
48
49imagePullSecrets: []
50nameOverride: ""
51fullnameOverride: ""
52
53serviceAccount:
54 # Specifies whether a service account should be created
55 create: true
56 # The name of the service account to use.
57 # If not set and create is true, a name is generated using the fullname template
58 name:
59
60podSecurityContext: {}
61 # fsGroup: 2000
62
abhay4a45cc82025-01-10 21:32:07 +053063securityContext:
64 enabled: true
65 fsGroup: 1001
66 runAsUser: 1001
67 runAsGroup: 1001
Tinoj Josephdd1fd9d2022-08-01 23:59:26 +053068
69service:
70 type: ClusterIP
71 port: 80
72
73ingress:
74 enabled: false
75 annotations: {}
76 # kubernetes.io/ingress.class: nginx
77 # kubernetes.io/tls-acme: "true"
78 hosts:
79 - host: chart-example.local
80 paths: []
81
82 tls: []
83 # - secretName: chart-example-tls
84 # hosts:
85 # - chart-example.local
86
abhay4a45cc82025-01-10 21:32:07 +053087resources:
Tinoj Josephdd1fd9d2022-08-01 23:59:26 +053088 # We usually recommend not to specify default resources and to leave this as a conscious
89 # choice for the user. This also increases chances charts run on environments with little
90 # resources, such as Minikube. If you do want to specify resources, uncomment the following
91 # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
abhay4a45cc82025-01-10 21:32:07 +053092 requests:
93 cpu: 100m
94 memory: 128Mi
95 limits:
96 cpu: 200m
97 memory: 256Mi
98
99#Probe
100probe:
101 liveness:
102 initial_delay_seconds: 3
103 period_seconds: 3
104 readiness:
105 initial_delay_seconds: 3
106 period_seconds: 3
Tinoj Josephdd1fd9d2022-08-01 23:59:26 +0530107
108nodeSelector: {}
109
110tolerations: []
111
112affinity: {}
Akash Sonia02e9982022-12-09 10:11:41 +0530113
114# Define connectivity to required services
115services:
116 kafka:
117 cluster:
118 address: kafka:9092
abhaycd295062024-12-12 11:05:07 +0530119 kvstore:
120 # type: etcd, redis or redis-sentinel
121 type: "redis"
122 address: "voltha-infra-redis-headless.{{ .Values.global.voltha_infra_namespace }}.svc.cluster.local"
123 port: "6379"