mirror of
https://github.com/bitnami/charts.git
synced 2026-03-06 15:10:15 +08:00
[bitnami/kong]Adds externalTrafficPolicy setting to kong service (#6171)
* [bitnami/kong]Added externalTrafficPolicy setting to kong service * Bumped version to 3.5.0 * [bitnami/kong] Update components versions Signed-off-by: Bitnami Containers <containers@bitnami.com> Co-authored-by: David <david@Davids-MacBook-Pro.local> Co-authored-by: Carlos Rodríguez Hernández <carlosrh@vmware.com> Co-authored-by: Bitnami Containers <containers@bitnami.com>
This commit is contained in:
@@ -34,4 +34,4 @@ name: kong
|
||||
sources:
|
||||
- https://github.com/bitnami/bitnami-docker-kong
|
||||
- https://konghq.com/
|
||||
version: 3.4.9
|
||||
version: 3.5.0
|
||||
|
||||
@@ -124,6 +124,7 @@ The following tables list the configurable parameters of the kong chart and thei
|
||||
| Parameter | Description | Default |
|
||||
|----------------------------------|------------------------------------------------------------------|--------------------------------|
|
||||
| `service.type` | Kubernetes Service type | `ClusterIP` |
|
||||
| `service.externalTrafficPolicy` | external traffic policy managing client source IP preservation | `Cluster` |
|
||||
| `service.exposeAdmin` | Add the Kong Admin ports to the service | `false` |
|
||||
| `service.proxyHttpPort` | kong proxy HTTP service port port | `80` |
|
||||
| `service.proxyHttpsPort` | kong proxy HTTPS service port port | `443` |
|
||||
|
||||
@@ -19,6 +19,9 @@ metadata:
|
||||
{{- end }}
|
||||
spec:
|
||||
type: {{ .Values.service.type }}
|
||||
{{- if and (or (eq .Values.service.type "NodePort") (eq .Values.service.type "LoadBalancer")) (not (empty .Values.service.externalTrafficPolicy)) }}
|
||||
externalTrafficPolicy: {{ .Values.service.externalTrafficPolicy }}
|
||||
{{- end }}
|
||||
{{- if and (eq .Values.service.type "LoadBalancer") (not (empty .Values.service.loadBalancerIP)) }}
|
||||
loadBalancerIP: {{ .Values.service.loadBalancerIP }}
|
||||
{{- end }}
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
image:
|
||||
registry: docker.io
|
||||
repository: bitnami/kong
|
||||
tag: 2.3.3-debian-10-r42
|
||||
tag: 2.3.3-debian-10-r43
|
||||
## Specify a imagePullPolicy
|
||||
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
|
||||
## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
|
||||
@@ -162,7 +162,7 @@ ingressController:
|
||||
image:
|
||||
registry: docker.io
|
||||
repository: bitnami/kong-ingress-controller
|
||||
tag: 1.2.0-debian-10-r26
|
||||
tag: 1.2.0-debian-10-r27
|
||||
## Specify a imagePullPolicy
|
||||
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
|
||||
## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
|
||||
@@ -335,6 +335,13 @@ service:
|
||||
##
|
||||
type: ClusterIP
|
||||
|
||||
## externalTrafficPolicy for the service
|
||||
## default to "Cluster"
|
||||
## set to "Local" in order to preserve the client source IP (only on service of type LoadBalancer or NodePort)
|
||||
## ref: https://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/
|
||||
##
|
||||
externalTrafficPolicy:
|
||||
|
||||
## kong proxy HTTP service port
|
||||
##
|
||||
proxyHttpPort: 80
|
||||
|
||||
Reference in New Issue
Block a user