Skip to content

Commit

Permalink
chore: trigger admission on secrets creation for KIC >= 2.12.1 (#907)
Browse files Browse the repository at this point in the history
  • Loading branch information
czeslavo authored Oct 19, 2023
1 parent 5a20e6e commit f0e0b46
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions charts/kong/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,15 @@
### Improvements

* Prevent installing PodDisruptionBudget for `replicaCount: 1` or `autoscaling.minReplicas: 1`.
[#896](https://github.com/Kong/charts/pull/896)
* The admission webhook now will be triggered on Secrets creation for KIC 2.12.1+.
[#907](https://github.com/Kong/charts/pull/907)

## 2.29.0

### Improvements
* Make it possible to set the admission webhook's `timeoutSeconds`.
[#894](https://github.com/Kong/charts/pull/894)

## 2.28.1

Expand All @@ -18,6 +22,7 @@
* The admission webhook now includes Gateway API resources and Ingress
resources for controller versions 2.12+. This version introduces new
validations for Kong's regex path implementation.
[#892](https://github.com/Kong/charts/pull/892)

## 2.28.0

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

0 comments on commit f0e0b46

Please sign in to comment.