add source ip preservation detail (#19942)

add source ip preservation detail and change default externalTrafficPolicy to Local (default controller.service.type is LoadBalancer)

Signed-off-by: jfcoz <you@example.com>
This commit is contained in:
Julien Francoz
2020-01-09 00:41:45 -08:00
committed by Kubernetes Prow Robot
parent 4370548d67
commit 14e36a0328
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
apiVersion: v1
name: haproxy-ingress
version: 0.0.21
version: 0.0.22
appVersion: 0.7.2
home: https://github.com/jcmoraisjr/haproxy-ingress
description: Ingress controller implementation for haproxy loadbalancer.
+1 -1
View File
@@ -99,7 +99,7 @@ Parameter | Description | Default
`controller.service.annotations` | annotations for controller service | `{}`
`controller.service.labels` | labels for controller service | `{}`
`controller.service.clusterIP` | internal controller cluster service IP | `""`
`controller.service.externalTrafficPolicy` | external traffic policy | `Cluster`
`controller.service.externalTrafficPolicy` | If `controller.service.type` is `NodePort` or `LoadBalancer`, set this to `Local` to enable [source IP preservation](https://kubernetes.io/docs/tutorials/services/source-ip/#source-ip-for-services-with-typenodeport) | `Local`
`controller.service.externalIPs` | list of IP addresses at which the controller services are available | `[]`
`controller.service.loadBalancerIP` | IP address to assign to load balancer (if supported) | `""`
`controller.service.loadBalancerSourceRanges` | | `[]`
+1 -1
View File
@@ -208,7 +208,7 @@ controller:
## Set external traffic policy to: "Local" to preserve source IP on
## providers supporting it
## Ref: https://kubernetes.io/docs/tutorials/services/source-ip/#source-ip-for-services-with-typeloadbalancer
externalTrafficPolicy: ""
externalTrafficPolicy: Local
healthCheckNodePort: 0