Skip to content

Commit

Permalink
fix: limit GWAPI webhook versions (#954)
Browse files Browse the repository at this point in the history
  • Loading branch information
czeslavo committed Nov 28, 2023
1 parent 80fd0d9 commit 16f5a1d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions charts/kong/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
[#957](https://github.com/Kong/charts/pull/957)
* Support for `affinity` configuration has been added to migration job templates.
* Display a warning message when Kong Manager is enabled and the Admin API is disabled.
* Validate Gateway API's `Gateway` and `HTTPRoute` resources in the controller's
admission webhook only when KIC version is 3.0 or higher.
[#954](https://github.com/Kong/charts/pull/954)

## 2.32.0

Expand Down
2 changes: 2 additions & 0 deletions charts/kong/templates/admission-webhook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,9 @@ webhooks:
apiVersions:
- 'v1alpha2'
- 'v1beta1'
{{- if (semverCompare ">= 3.0.0" (include "kong.effectiveVersion" .Values.ingressController.image)) }}
- 'v1'
{{- end }}
operations:
- CREATE
- UPDATE
Expand Down

0 comments on commit 16f5a1d

Please sign in to comment.