[bitnami/etcd] add loadBalancerSourceRanges (#3637)

This commit is contained in:
rico-bincentive
2020-09-11 16:57:13 +08:00
committed by GitHub
parent 4941fb52c1
commit 975fe174c4
5 changed files with 7 additions and 1 deletions

View File

@@ -1,6 +1,6 @@
apiVersion: v1
name: etcd
version: 4.10.1
version: 4.11.0
appVersion: 3.4.13
description: etcd is a distributed key value store that provides a reliable way to store data across a cluster of machines
keywords:

View File

@@ -98,6 +98,7 @@ The following tables lists the configurable parameters of the etcd chart and the
| `service.nodePorts.peerPort` | Kubernetes etcd peer node port | `""` |
| `service.annotations` | Annotations for etcd service | `{}` |
| `service.loadBalancerIP` | loadBalancerIP if etcd service type is `LoadBalancer` | `nil` |
| `service.loadBalancerSourceRanges` | loadBalancerSourceRanges if etcd service type is `LoadBalancer` | `nil` |
| `persistence.enabled` | Enable persistence using PVC | `true` |
| `persistence.storageClass` | PVC Storage Class for etcd volume | `nil` |
| `persistence.accessMode` | PVC Access Mode for etcd volume | `ReadWriteOnce` |

View File

@@ -11,6 +11,9 @@ spec:
{{- if and (eq .Values.service.type "LoadBalancer") (not (empty .Values.service.loadBalancerIP)) }}
loadBalancerIP: {{ .Values.service.loadBalancerIP }}
{{- end }}
{{- if and (eq .Values.service.type "LoadBalancer") (not (empty .Values.service.loadBalancerSourceRanges)) }}
loadBalancerSourceRanges: {{- toYaml .Values.service.loadBalancerSourceRanges | nindent 4 }}
{{- end }}
ports:
- name: client
port: {{ .Values.service.port }}

View File

@@ -193,6 +193,7 @@ service:
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#internal-load-balancer
##
# loadBalancerIP:
# loadBalancerSourceRanges: ["10.0.0.0/8"]
## Provide any additional annotations which may be required. This can be used to
## set the LoadBalancer service type to internal only.
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#internal-load-balancer

View File

@@ -193,6 +193,7 @@ service:
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#internal-load-balancer
##
# loadBalancerIP:
# loadBalancerSourceRanges: ["10.0.0.0/8"]
## Provide any additional annotations which may be required. This can be used to
## set the LoadBalancer service type to internal only.
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#internal-load-balancer