Skip to content

[release-1.7] fix: add CEL to validate LabelKey in XBackend's endpointSelector - #5397

Merged
kubernetes-prow[bot] merged 2 commits into
kubernetes-sigs:release-1.7from
k8s-infra-cherrypick-robot:cherry-pick-5394-to-release-1.7
Oct 21, 2026
Merged

kubernetes-prow[bot] merged 2 commits into
kubernetes-sigs:release-1.7from
k8s-infra-cherrypick-robot:cherry-pick-5394-to-release-1.7

Conversation

@k8s-infra-cherrypick-robot

Copy link
Copy Markdown
Contributor

This is an automated cherry-pick of #5394

/assign snorwin

Label keys in `XBackend.spec.endpointSelector.matchLabels` are now validated and invalid keys are rejected by the API server

/kind bug

snorwin and others added 2 commits October 21, 2026 20:38
Signed-off-by: Norwin Schnyder <norwin.schnyder+github@gmail.com>
Signed-off-by: Norwin Schnyder <github@snorwin.io>
@kubernetes-prow kubernetes-prow Bot added release-note Denotes a PR that will be considered when it comes time to generate release notes. kind/bug Categorizes issue or PR as related to a bug. needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. labels Oct 21, 2026
@kubernetes-prow

Copy link
Copy Markdown

This issue is currently awaiting triage.

If Gateway API community members determine this is a relevant issue, they will accept it by applying the triage/accepted label and provide further guidance.

The triage/accepted label can be added by org members by writing /triage accepted in a comment.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@kubernetes-prow kubernetes-prow Bot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. needs-priority size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Oct 21, 2026
@kubernetes-prow
kubernetes-prow Bot requested review from rikatz and youngnick October 21, 2026 20:38
@kubernetes-prow kubernetes-prow Bot added the needs-ail Indicates a PR lacks an `ail/0-5` label and requires one. label Oct 21, 2026
@rikatz

rikatz commented Oct 21, 2026

Copy link
Copy Markdown
Member

/lgtm
/approve

@kubernetes-prow kubernetes-prow Bot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Oct 21, 2026
@kubernetes-prow

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: k8s-infra-cherrypick-robot, rikatz

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@kubernetes-prow kubernetes-prow Bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Oct 21, 2026
@rikatz

rikatz commented Oct 21, 2026

Copy link
Copy Markdown
Member

/label ail/0

@kubernetes-prow kubernetes-prow Bot added ail/0 Categorizes a PR as having AI Influence Level 0 (human created, no AI) and removed needs-ail Indicates a PR lacks an `ail/0-5` label and requires one. labels Oct 21, 2026
@kubernetes-prow
kubernetes-prow Bot merged commit f7c3e5e into kubernetes-sigs:release-1.7 Oct 21, 2026
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ail/0 Categorizes a PR as having AI Influence Level 0 (human created, no AI) approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. kind/bug Categorizes issue or PR as related to a bug. lgtm "Looks good to me", indicates that a PR is ready to be merged. needs-priority needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. release-note Denotes a PR that will be considered when it comes time to generate release notes. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants