[stable/envoy] Add support for static load balancer IP (#18219)

Signed-off-by: Shu Heng <solemnpriest@gmail.com>
This commit is contained in:
Khor Shu Heng
2019-10-22 22:32:13 -07:00
committed by Kubernetes Prow Robot
parent a224031d60
commit 66cb3a49f6
3 changed files with 6 additions and 1 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
apiVersion: v1
description: Envoy is an open source edge and service proxy, designed for cloud-native applications.
name: envoy
version: 1.7.0
version: 1.8.0
appVersion: 1.11.2
keywords:
- envoy
+3
View File
@@ -14,6 +14,9 @@ metadata:
{{- end }}
spec:
type: {{ .Values.service.type }}
{{- if ne .Values.service.loadBalancerIP "" }}
loadBalancerIp: {{ .Values.service.loadBalancerIP }}
{{- end }}
ports:
{{- range $key, $value := .Values.service.ports }}
- name: {{ $key }}
+2
View File
@@ -36,6 +36,8 @@ service:
## Service name is user-configurable for maximum service discovery flexibility.
name: envoy
type: ClusterIP
## Ignored if the type is not LoadBalancer or if the IP is empty string
loadBalancerIP: ""
annotations: {}
## AWS example for use with LoadBalancer service type.
# external-dns.alpha.kubernetes.io/hostname: envoy.cluster.local