Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: only validate gk res #3158

Merged
merged 1 commit into from
Nov 15, 2023

Conversation

acpana
Copy link
Contributor

@acpana acpana commented Nov 15, 2023

Follow up to #3094 -- only check name len if the resources is a gatekepeer resource

Signed-off-by: Alex Pana <8968914+acpana@users.noreply.github.com>
@acpana acpana requested a review from a team as a code owner November 15, 2023 01:37
Copy link
Contributor

@maxsmythe maxsmythe left a comment

Choose a reason for hiding this comment

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

LGTM, thank you for the fix!

@ritazh @sozercan We should merge this ASAP, currently there is a bug where ALL resources with name length > 63 get rejected.

Copy link
Member

@ritazh ritazh left a comment

Choose a reason for hiding this comment

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

LGTM

@ritazh
Copy link
Member

ritazh commented Nov 15, 2023

Free to merge. Looks like the bug is only in main not part of any release right?

@maxsmythe
Copy link
Contributor

I think that's correct

@maxsmythe maxsmythe merged commit 39b5c4a into open-policy-agent:master Nov 15, 2023
14 of 15 checks passed
@maxsmythe
Copy link
Contributor

Thank you for the review!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants