Skip to content

Commit

Permalink
wip: close broken admission ifs
Browse files Browse the repository at this point in the history
Close several ifs that were broken after merge in admission webhook
template. Need to confirm whether we should keep these as-is or refactor
to just drop support for KIC 2.x.
  • Loading branch information
rainest committed Jun 17, 2024
1 parent 5b969de commit a434581
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions charts/kong/templates/admission-webhook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ webhooks:
{{- if (semverCompare ">= 3.0.0" (include "kong.effectiveVersion" .Values.ingressController.deployment.pod.container.image)) }}
- services
{{- end }}
{{- end }}
{{- if (semverCompare ">= 2.12.0" (include "kong.effectiveVersion" .Values.ingressController.deployment.pod.container.image)) }}
- apiGroups:
- networking.k8s.io
Expand All @@ -191,6 +192,7 @@ webhooks:
- 'v1beta1'
{{- if (semverCompare ">= 3.0.0" (include "kong.effectiveVersion" .Values.ingressController.deployment.pod.container.image)) }}
- 'v1'
{{- end }}
{{- end }}
operations:
- CREATE
Expand Down

0 comments on commit a434581

Please sign in to comment.