Signed-off-by: Nicolas BOURON <nicolas.bouron@gmail.com> Co-authored-by: Roman Zabaluev <rzabaluev@provectus.com>
@@ -2,6 +2,6 @@ apiVersion: v2
name: kafka-ui
description: A Helm chart for kafka-UI
type: application
-version: 0.7.0
+version: 0.7.1
appVersion: v0.7.0
icon: https://github.com/provectus/kafka-ui/raw/master/documentation/images/kafka-ui-logo.png
@@ -10,6 +10,9 @@ metadata:
{{- end }}
spec:
type: {{ .Values.service.type }}
+{{- if and (eq .Values.service.type "LoadBalancer") (.Values.service.loadBalancerIP) }}
+ loadBalancerIP: {{ .Values.service.loadBalancerIP }}
+{{- end }}
ports:
- port: {{ .Values.service.port }}
targetPort: http
@@ -94,6 +94,8 @@ securityContext:
service:
type: ClusterIP
port: 80
+ # In case of service type LoadBalancer, you can specify reserved static IP
+ # loadBalancerIP: 10.11.12.13
# if you want to force a specific nodePort. Must be use with service.type=NodePort
# nodePort: