Closed pmalek closed 4 months ago
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.
(optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged)
fixes #<issue number>(, fixes #<issue_number>, ...)
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]
main
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.]
main
branch.