Add loadBalancerIP to configure static LB IP (#11065)

Signed-off-by: Cyrill Troxler <cyrill.troxler@nine.ch>
This commit is contained in:
Cyrill Troxler
2019-02-03 09:53:06 -08:00
committed by Kubernetes Prow Robot
parent b54a9b3947
commit fd37371d69
4 changed files with 7 additions and 1 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
apiVersion: v1
description: A Helm chart for Vault, a tool for managing secrets
name: vault
version: 0.14.6
version: 0.14.7
appVersion: 1.0.1
home: https://www.vaultproject.io/
icon: https://www.vaultproject.io/assets/images/mega-nav/logo-vault-0f83e3d2.svg
+1
View File
@@ -62,6 +62,7 @@ The following table lists the configurable parameters of the Vault chart and the
| `resources.limits.cpu` | Container requested CPU | `nil` |
| `resources.limits.memory` | Container requested memory | `nil` |
| `affinity` | Affinity settings | See values.yaml |
| `service.loadBalancerIP` | Assign a static IP to the loadbalancer | `nil` |
| `service.loadBalancerSourceRanges`| IP whitelist for service type loadbalancer | `[]` |
| `service.annotations` | Annotations for service | `{}` |
| `annotations` | Annotations for deployment | `{}` |
+3
View File
@@ -17,6 +17,9 @@ spec:
clusterIP: {{ .Values.service.clusterIP }}
{{- end }}
{{- if eq .Values.service.type "LoadBalancer" }}
{{- if .Values.service.loadBalancerIP }}
loadBalancerIP: {{ .Values.service.loadBalancerIP }}
{{- end }}
loadBalancerSourceRanges:
{{- range .Values.service.loadBalancerSourceRanges }}
- {{ . }}
+2
View File
@@ -28,6 +28,8 @@ service:
name: vault
type: ClusterIP
# type: LoadBalancer
# Assign a static LB IP
# loadBalancerIP: 203.0.113.32
loadBalancerSourceRanges: []
# - 10.0.0.0/8
# - 130.211.204.2/32