Kong / charts

Helm chart for Kong
Apache License 2.0
239 stars 473 forks source link

kgo: fix webhook #1029

Closed pmalek closed 4 months ago

pmalek commented 4 months ago

What this PR does / why we need it:

KGO creates its webhook with hardcoded label: https://github.com/Kong/gateway-operator/blob/05d19d708ee88c4c55213b51de2741518304902d/pkg/utils/kubernetes/resources/services.go#L42

That's why we need to add this label to KGO's Pods to be able to select them. This is what this PR is for.

Which issue this PR fixes

(optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged)

Special notes for your reviewer:

Checklist

[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]