[stable/kong] optiont to disable admin service (#19757)

Signed-off-by: Harry Bagdi <harrybagdi@gmail.com>
This commit is contained in:
Harry
2019-12-24 14:03:29 -08:00
committed by Kubernetes Prow Robot
parent cfde3c4834
commit 13fb2efccd
4 changed files with 26 additions and 8 deletions
+2 -2
View File
@@ -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
+16 -2
View File
@@ -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
@@ -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 -}}
+6 -4
View File
@@ -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