[stable/kong] Add proxy.externalTrafficPolicy to the configuration (#14123)

* Add proxy.externalTrafficPolicy to the configuration to allow configuring externalTrafficPolicy on kong-proxy SVC

Signed-off-by: Benoît Ngô <ngobenoit@gmail.com>

* Version BUMP + rebasing with master

Signed-off-by: Benoît Ngô <ngobenoit@gmail.com>
This commit is contained in:
Ngob
2019-05-25 12:57:49 -07:00
committed by Kubernetes Prow Robot
parent d23529784f
commit 5c5d7edc97
3 changed files with 6 additions and 1 deletions
+1 -1
View File
@@ -10,5 +10,5 @@ maintainers:
name: kong
sources:
- https://github.com/Kong/kong
version: 0.11.1
version: 0.11.2
appVersion: 1.1
+1
View File
@@ -82,6 +82,7 @@ and their default values.
| proxy.loadBalancerSourceRanges | Limit proxy access to CIDRs if set and service type is `LoadBalancer` | `[]` |
| proxy.loadBalancerIP | To reuse an existing ingress static IP for the admin service | |
| proxy.externalIPs | IPs for which nodes in the cluster will also accept traffic for the proxy | `[]` |
| proxy.externalTrafficPolicy | k8s service's externalTrafficPolicy. Options: Cluster, Local | |
| proxy.ingress.enabled | Enable ingress resource creation (works with proxy.type=ClusterIP) | `false` |
| proxy.ingress.tls | Name of secret resource, containing TLS secret | |
| proxy.ingress.hosts | List of ingress hosts. | `[]` |
@@ -47,6 +47,10 @@ spec:
{{- end }}
protocol: TCP
{{- end }}
{{- if .Values.proxy.externalTrafficPolicy }}
externalTrafficPolicy: {{ .Values.proxy.externalTrafficPolicy }}
{{- end }}
selector:
app: {{ template "kong.name" . }}
release: {{ .Release.Name }}