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
|
name: kafka-ui
|
||||||
description: A Helm chart for kafka-UI
|
description: A Helm chart for kafka-UI
|
||||||
type: application
|
type: application
|
||||||
version: 0.6.2
|
version: 0.7.2
|
||||||
appVersion: v0.6.2
|
appVersion: v0.7.2
|
||||||
icon: https://github.com/provectus/kafka-ui/raw/master/documentation/images/kafka-ui-logo.png
|
icon: https://github.com/provectus/kafka-ui/raw/master/documentation/images/kafka-ui-logo.png
|
||||||
|
|
|
@ -10,6 +10,9 @@ metadata:
|
||||||
{{- end }}
|
{{- end }}
|
||||||
spec:
|
spec:
|
||||||
type: {{ .Values.service.type }}
|
type: {{ .Values.service.type }}
|
||||||
|
{{- if and (eq .Values.service.type "LoadBalancer") (.Values.service.loadBalancerIP) }}
|
||||||
|
loadBalancerIP: {{ .Values.service.loadBalancerIP }}
|
||||||
|
{{- end }}
|
||||||
ports:
|
ports:
|
||||||
- port: {{ .Values.service.port }}
|
- port: {{ .Values.service.port }}
|
||||||
targetPort: http
|
targetPort: http
|
||||||
|
|
|
@ -94,6 +94,8 @@ securityContext:
|
||||||
service:
|
service:
|
||||||
type: ClusterIP
|
type: ClusterIP
|
||||||
port: 80
|
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
|
# if you want to force a specific nodePort. Must be use with service.type=NodePort
|
||||||
# nodePort:
|
# nodePort:
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue