diff --git a/stable/kong/Chart.yaml b/stable/kong/Chart.yaml index 3ef6067c01..ffb0b872e4 100644 --- a/stable/kong/Chart.yaml +++ b/stable/kong/Chart.yaml @@ -10,5 +10,5 @@ maintainers: name: kong sources: - https://github.com/Kong/kong -version: 0.9.6 +version: 0.9.7 appVersion: 1.0.2 diff --git a/stable/kong/README.md b/stable/kong/README.md index ac198e9f2e..104e734508 100644 --- a/stable/kong/README.md +++ b/stable/kong/README.md @@ -81,6 +81,7 @@ and their default values. | proxy.type | k8s service type. Options: NodePort, ClusterIP, LoadBalancer | `NodePort` | | 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.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. | `[]` | diff --git a/stable/kong/templates/service-kong-proxy.yaml b/stable/kong/templates/service-kong-proxy.yaml index b52b74c9d2..d89b019d6e 100644 --- a/stable/kong/templates/service-kong-proxy.yaml +++ b/stable/kong/templates/service-kong-proxy.yaml @@ -24,6 +24,10 @@ spec: {{- end }} {{- end }} {{- end }} + externalIPs: + {{- range $ip := .Values.proxy.externalIPs }} + - {{ $ip }} + {{- end }} ports: {{- if .Values.proxy.http.enabled }} - name: kong-proxy diff --git a/stable/kong/values.yaml b/stable/kong/values.yaml index 5011dd069a..5d099b9ca9 100644 --- a/stable/kong/values.yaml +++ b/stable/kong/values.yaml @@ -81,6 +81,8 @@ proxy: # Ingress path. path: / + externalIPs: [] + # Set runMigrations to run Kong migrations runMigrations: true