Skip to content

Commit

Permalink
feat: add services to admission webhook config for KIC >= 3.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
czeslavo committed Oct 31, 2023
1 parent 4736b0d commit 05cd1ea
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions charts/kong/templates/admission-webhook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,9 @@ webhooks:
- UPDATE
resources:
- secrets
{{- if (semverCompare ">= 3.0.0" (include "kong.effectiveVersion" .Values.ingressController.image)) }}
- services
{{- end }}
{{- if (semverCompare ">= 2.12.0" (include "kong.effectiveVersion" .Values.ingressController.image)) }}
- apiGroups:
- networking.k8s.io
Expand Down

0 comments on commit 05cd1ea

Please sign in to comment.