diff --git a/stable/kong/Chart.yaml b/stable/kong/Chart.yaml index 1deb24f0a3..6d00879f54 100644 --- a/stable/kong/Chart.yaml +++ b/stable/kong/Chart.yaml @@ -12,5 +12,5 @@ maintainers: name: kong sources: - https://github.com/Kong/kong -version: 0.30.1 -appVersion: 1.3 +version: 0.31.0 +appVersion: 1.4 diff --git a/stable/kong/README.md b/stable/kong/README.md index cb633fb4e4..f17dfa072d 100644 --- a/stable/kong/README.md +++ b/stable/kong/README.md @@ -65,6 +65,7 @@ and their default values. | image.pullPolicy | Image pull policy | `IfNotPresent` | | image.pullSecrets | Image pull secrets | `null` | | replicaCount | Kong instance count | `1` | +| admin.enabled | Create Admin Service | `false` | | admin.useTLS | Secure Admin traffic | `true` | | admin.servicePort | TCP port on which the Kong admin service is exposed | `8444` | | admin.containerPort | TCP port on which Kong app listens for admin traffic | `8444` | @@ -89,7 +90,7 @@ and their default values. | proxy.tls.nodePort | Node port to use for TLS | 32443 | | proxy.tls.hostPort | Host port to use for TLS | | | proxy.tls.overrideServiceTargetPort| Override service port to use for TLS without touching Kong containerPort | | -| proxy.type | k8s service type. Options: NodePort, ClusterIP, LoadBalancer | `NodePort` | +| proxy.type | k8s service type. Options: NodePort, ClusterIP, LoadBalancer | `LoadBalancer` | | proxy.clusterIP | k8s service clusterIP | | | 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 | | @@ -408,7 +409,20 @@ You can can learn about kong ingress custom resource definitions [here](https:// ## Changelog -======= + +### 0.31.0 + +#### Breaking changes + +- Admin Service is disabled by default (`admin.enabled`) +- Default for `proxy.type` has been changed to `LoadBalancer` + +#### New features + +- Update default version of Kong to 1.4 +- Update default version of Ingress Controller to 0.6.2 +- Add support to disable kong-admin service via `admin.enabled` flag. + ### 0.30.1 #### New Features diff --git a/stable/kong/templates/service-kong-admin.yaml b/stable/kong/templates/service-kong-admin.yaml index 40107cb779..ab3f195be4 100644 --- a/stable/kong/templates/service-kong-admin.yaml +++ b/stable/kong/templates/service-kong-admin.yaml @@ -1,3 +1,4 @@ +{{- if .Values.admin.enabled -}} apiVersion: v1 kind: Service metadata: @@ -36,3 +37,4 @@ spec: app: {{ template "kong.name" . }} release: {{ .Release.Name }} component: app +{{- end -}} diff --git a/stable/kong/values.yaml b/stable/kong/values.yaml index a0b6f410c1..7232e1a5ea 100644 --- a/stable/kong/values.yaml +++ b/stable/kong/values.yaml @@ -4,7 +4,7 @@ image: repository: kong # repository: kong-docker-kong-enterprise-edition-docker.bintray.io/kong-enterprise-edition - tag: 1.3 + tag: 1.4 pullPolicy: IfNotPresent ## Optionally specify an array of imagePullSecrets. ## Secrets must be manually created in the namespace. @@ -19,8 +19,9 @@ waitImage: tag: latest pullPolicy: IfNotPresent -# Specify Kong admin and proxy services configurations +# Specify Kong admin service configuration admin: + enabled: false # If you want to specify annotations for the admin service, uncomment the following # line, add additional or adjust as needed, and remove the curly braces after 'annotations:'. annotations: {} @@ -48,6 +49,7 @@ admin: # Ingress path. path: / +# Specify Kong proxy service configuration proxy: # If you want to specify annotations for the proxy service, uncomment the following # line, add additional or adjust as needed, and remove the curly braces after 'annotations:'. @@ -72,7 +74,7 @@ proxy: # Set a nodePort which is available if service type is NodePort # nodePort: 32443 - type: NodePort + type: LoadBalancer # Kong proxy ingress settings. ingress: @@ -387,7 +389,7 @@ ingressController: enabled: true image: repository: kong-docker-kubernetes-ingress-controller.bintray.io/kong-ingress-controller - tag: 0.6.0 + tag: 0.6.2 replicaCount: 1 livenessProbe: failureThreshold: 3