diff --git a/stable/kong/Chart.yaml b/stable/kong/Chart.yaml index 7728e2647b..47742a5630 100644 --- a/stable/kong/Chart.yaml +++ b/stable/kong/Chart.yaml @@ -10,6 +10,5 @@ maintainers: email: harry@konghq.com name: kong sources: -- https://github.com/Kong/kong -version: 0.35.0 +version: 0.35.1 appVersion: 1.4 diff --git a/stable/kong/OWNERS b/stable/kong/OWNERS index 25b9ea9d12..6b806459df 100644 --- a/stable/kong/OWNERS +++ b/stable/kong/OWNERS @@ -1,6 +1,8 @@ approvers: - hbagdi - shashiranjan84 +- rainest reviewers: - hbagdi - shashiranjan84 +- rainest diff --git a/stable/kong/README.md b/stable/kong/README.md index d57e9d60ed..266c9c06cc 100644 --- a/stable/kong/README.md +++ b/stable/kong/README.md @@ -461,6 +461,16 @@ value is your SMTP password. ## Changelog +### 0.35.1 + +> PR https://github.com/helm/charts/pull/19914 + +#### Improvements + +- Update CRDs to Ingress Controller 0.7 +- Optimize readiness and liveness probes for more responsive health checks +- Fixed incorrect space in NOTES.txt + ### 0.35.0 > PR [#19856](https://github.com/helm/charts/pull/19856) @@ -477,7 +487,7 @@ value is your SMTP password. This release contains no user-visible changes -### Under the hood +#### Under the hood - Various tests have been consolidated to speed up CI. diff --git a/stable/kong/templates/NOTES.txt b/stable/kong/templates/NOTES.txt index 8e2e52a895..d7ee3f3077 100644 --- a/stable/kong/templates/NOTES.txt +++ b/stable/kong/templates/NOTES.txt @@ -7,7 +7,7 @@ To connect to Kong, please execute the following command {{- else if contains "NodePort" .Values.proxy.type -}} HOST=$(kubectl get nodes --namespace {{ .Release.Namespace }} -o jsonpath='{.items[0].status.addresses[0].address}') PORT=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ template "kong.fullname" . }}-proxy -o jsonpath='{.spec.ports[0].nodePort}') -{{- end -}} +{{- end -}} export PROXY_IP=${HOST}:${PORT} curl $PROXY_IP diff --git a/stable/kong/templates/custom-resource-definitions.yaml b/stable/kong/templates/custom-resource-definitions.yaml index 90322c4222..7639d09dfa 100644 --- a/stable/kong/templates/custom-resource-definitions.yaml +++ b/stable/kong/templates/custom-resource-definitions.yaml @@ -30,6 +30,10 @@ spec: type: string custom_id: type: string + credentials: + type: array + items: + type: string --- apiVersion: apiextensions.k8s.io/v1beta1 kind: CustomResourceDefinition @@ -172,6 +176,8 @@ spec: enum: - http - https + - grpc + - grpcs https_redirect_status_code: type: integer proxy: @@ -182,6 +188,8 @@ spec: enum: - http - https + - grpc + - grpcs path: type: string pattern: ^/.*$ @@ -206,6 +214,8 @@ spec: - "round-robin" - "consistent-hashing" - "least-connections" + host_header: + type: string hash_on: type: string hash_on_cookie: diff --git a/stable/kong/values.yaml b/stable/kong/values.yaml index 8d4959dbdf..6eb7e4012f 100644 --- a/stable/kong/values.yaml +++ b/stable/kong/values.yaml @@ -115,11 +115,12 @@ proxy: # TLS section. Unlike other ingresses, this follows the format at # https://kubernetes.io/docs/concepts/services-networking/ingress/#tls # tls: - # hosts: - # - example.com - # secretName: example-com-tls-secret - # - example.net - # secretName: example-net-tls-secret + # - hosts: + # - 1.example.com + # secretName: example1-com-tls-secret + # - hosts: + # - 2.example.net + # secretName: example2-net-tls-secret # Map of ingress annotations. annotations: {} # Ingress path. @@ -208,25 +209,25 @@ ingressController: # general properties livenessProbe: - failureThreshold: 3 httpGet: path: "/healthz" port: 10254 scheme: HTTP - initialDelaySeconds: 10 + initialDelaySeconds: 5 + timeoutSeconds: 1 periodSeconds: 10 successThreshold: 1 - timeoutSeconds: 5 + failureThreshold: 3 readinessProbe: - failureThreshold: 3 httpGet: path: "/healthz" port: 10254 scheme: HTTP - initialDelaySeconds: 10 + initialDelaySeconds: 5 + timeoutSeconds: 1 periodSeconds: 10 successThreshold: 1 - timeoutSeconds: 5 + failureThreshold: 3 resources: {} # ----------------------------------------------------------------------------- @@ -286,11 +287,11 @@ readinessProbe: path: "/status" port: metrics scheme: HTTP - initialDelaySeconds: 10 + initialDelaySeconds: 5 timeoutSeconds: 1 periodSeconds: 10 successThreshold: 1 - failureThreshold: 5 + failureThreshold: 3 # livenessProbe for Kong pods livenessProbe: @@ -298,11 +299,11 @@ livenessProbe: path: "/status" port: metrics scheme: HTTP - initialDelaySeconds: 10 - timeoutSeconds: 5 - periodSeconds: 30 + initialDelaySeconds: 5 + timeoutSeconds: 1 + periodSeconds: 10 successThreshold: 1 - failureThreshold: 5 + failureThreshold: 3 # Affinity for pod assignment # Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity