Skip to content

Commit 202156c

Browse files
committed
Refactor values.yaml to improve service configuration and clarify ingress rules
1 parent a6ba82b commit 202156c

File tree

1 file changed

+15
-10
lines changed

1 file changed

+15
-10
lines changed

charts/lightstreamer/values.yaml

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ nameOverride: ""
2626
fullnameOverride: ""
2727

2828
# -- Additional labels to apply to all resources
29-
additionalLabels:
29+
additionalLabels: {}
3030

3131
# -- Lightstreamer Docker Image settings
3232
image:
@@ -246,10 +246,11 @@ service:
246246

247247
# -- The service type
248248
# (https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services-service-types)
249-
type: LoadBalancer
249+
type:
250250

251-
# -- This sets the ports more information can be found here: https://kubernetes.io/docs/concepts/services-networking/service/#field-spec-ports
252-
port: 8088
251+
# -- The port exposed by the service
252+
# (https://kubernetes.io/docs/concepts/services-networking/service/#field-spec-ports)
253+
port: 8080
253254

254255
# -- The node port when the `type` is set to `NodePort` or 'LoadBalancer'
255256
# (https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport)
@@ -259,6 +260,9 @@ service:
259260
# below)
260261
targetPort: http-server
261262

263+
# -- The name of the service port
264+
name: lightstreamer-service
265+
262266
# -- The load balancer implementation when the `type` is set to `LoadBalancer`
263267
# (https://kubernetes.io/docs/concepts/services-networking/service/#load-balancer-class)
264268
loadBalancerClass:
@@ -278,14 +282,15 @@ ingress:
278282
# -- The name of Ingress class
279283
className:
280284

281-
# -- List of Ingress rules
285+
# -- List of Ingress rules.
286+
# if not set, the ingress will be backed by the service.
282287
hosts:
283-
- host:
284-
paths:
285-
- path: /
286-
pathType: Prefix
288+
# - host:
289+
# paths:
290+
# - path: /
291+
# pathType: Prefix
287292

288-
# -- TLS configuration for the Infress
293+
# -- TLS configuration for the Ingress
289294
# (https://kubernetes.io/docs/concepts/services-networking/ingress/#tls)
290295
tls: []
291296

0 commit comments

Comments
 (0)