Skip to content

Conversation

mlavacca
Copy link
Member

@mlavacca mlavacca commented Feb 2, 2023

What type of PR is this?

What this PR does / why we need it:

When the HTTPRoute is not accepted because the cross-namespace parentRef is not granted, the specific reason ParentRefNotPermitted is used.

/kind feature

Which issue(s) this PR fixes:

Fixes #1688

Does this PR introduce a user-facing change?:

The conformance test HTTPRouteInvalidCrossNamespaceParentRef now requires the HTTPRoute accepted condition to be failing with the ParentRefNotPermitted reason.

The reason ParentRefNotPermitted has been used and
checked in the HTTPRouteInvalidCrossNamespaceParentRef conformance test.

Signed-off-by: Mattia Lavacca <[email protected]>
@k8s-ci-robot k8s-ci-robot added kind/feature Categorizes issue or PR as related to a new feature. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Feb 2, 2023
@k8s-ci-robot k8s-ci-robot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Feb 2, 2023
@mlavacca mlavacca changed the title Parentref not permitted conformance ParentRefNotPermitted route reason in conformance test Feb 2, 2023
@mlavacca mlavacca requested review from shaneutt and removed request for howardjohn and youngnick February 3, 2023 16:04
Copy link
Member

@shaneutt shaneutt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Feb 3, 2023
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: mlavacca, shaneutt

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

The pull request process is described here

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

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Feb 3, 2023
@k8s-ci-robot k8s-ci-robot merged commit 1eb8d70 into kubernetes-sigs:main Feb 3, 2023
@shaneutt shaneutt added this to the v0.6.1 milestone Feb 7, 2023
shaneutt pushed a commit that referenced this pull request Feb 7, 2023
…mance

`ParentRefNotPermitted` route reason in conformance test
shaneutt added a commit that referenced this pull request Feb 7, 2023
shaneutt added a commit to shaneutt/gateway-api that referenced this pull request Feb 7, 2023
…ef-not-permitted-conformance"

This reverts commit 419ce85.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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/feature Categorizes issue or PR as related to a new feature. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Use the ParentRefNotPermitted reason in conformance tests
4 participants