[bitnami/zookeeper] Changes to add loadBalancerIP option to service (#4130)

* Changes to add loadBalancerIP option to service

* Improve condition

* Add commets to values files

* Remove trailing spaces

* Update bitnami/zookeeper/values-production.yaml

Co-authored-by: Francisco de Paz Galán <fdepaz@vmware.com>

* Update bitnami/zookeeper/values.yaml

Co-authored-by: Francisco de Paz Galán <fdepaz@vmware.com>

* Update bitnami/zookeeper/README.md

Co-authored-by: Francisco de Paz Galán <fdepaz@vmware.com>

* Update bitnami/zookeeper/templates/svc.yaml

Co-authored-by: Francisco de Paz Galán <fdepaz@vmware.com>

Co-authored-by: Francisco de Paz Galán <fdepaz@vmware.com>
This commit is contained in:
Fran
2020-10-28 10:51:33 +01:00
committed by GitHub
co-authored by Francisco de Paz Galán
parent 9e5c8739f8
commit eff33a50ea
5 changed files with 13 additions and 1 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
apiVersion: v1
name: zookeeper
version: 5.22.2
version: 5.23.0
appVersion: 3.6.2
description: A centralized service for maintaining configuration information, naming, providing distributed synchronization, and providing group services for distributed applications.
keywords:
+1
View File
@@ -127,6 +127,7 @@ The following tables lists the configurable parameters of the ZooKeeper chart an
| Parameter | Description | Default |
|---------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------|
| `service.type` | Kubernetes Service type | `ClusterIP` |
| `service.loadBalancerIP` | Use with service.type `LoadBalancer` to assign static IP to Load Balancer instance | `""` |
| `service.port` | ZooKeeper port | `2181` |
| `service.followerPort` | ZooKeeper follower port | `2888` |
| `service.electionPort` | ZooKeeper election port | `3888` |
+3
View File
@@ -19,6 +19,9 @@ metadata:
{{- end }}
spec:
type: {{ .Values.service.type }}
{{- if and (.Values.service.loadBalancerIP) (eq .Values.service.type "LoadBalancer") }}
loadBalancerIP: {{ .Values.service.loadBalancerIP }}
{{- end }}
ports:
{{ if not .Values.service.tls.disable_base_client_port }}
- name: tcp-client
+4
View File
@@ -207,6 +207,10 @@ dataLogDir: ""
##
service:
type: ClusterIP
## loadBalancerIP for the Zookeper Service (optional, cloud specific)
## ref: http://kubernetes.io/docs/user-guide/services/#type-loadbalancer
##
# loadBalancerIP:
port: 2181
followerPort: 2888
electionPort: 3888
+4
View File
@@ -206,6 +206,10 @@ dataLogDir: ""
##
service:
type: ClusterIP
## loadBalancerIP for the Zookeper Service (optional, cloud specific)
## ref: http://kubernetes.io/docs/user-guide/services/#type-loadbalancer
##
# loadBalancerIP:
port: 2181
followerPort: 2888
electionPort: 3888