feat(charts/kafka-ui): add loadBalancerIP attribute for LB svc
Signed-off-by: Nicolas BOURON <nicolas.bouron@gmail.com>
This commit is contained in:
parent
c813e74609
commit
f996b6884b
3 changed files with 7 additions and 2 deletions
|
@ -2,6 +2,6 @@ apiVersion: v2
|
|||
name: kafka-ui
|
||||
description: A Helm chart for kafka-UI
|
||||
type: application
|
||||
version: 0.6.2
|
||||
appVersion: v0.6.2
|
||||
version: 0.7.2
|
||||
appVersion: v0.7.2
|
||||
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:
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue