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(gateway): change MeshGateway tags validation to be consistent with MeshRoute tags validation #11808

Merged
merged 2 commits into from
Oct 23, 2024

Conversation

Automaat
Copy link
Contributor

Fixes: #11806

Motivation

Right now, MeshGateway tags validation is more loose than validation of tags in Mesh*Route which lets you create Gateway you won't be able to reference in Mesh*Route.

@Automaat Automaat requested a review from a team as a code owner October 21, 2024 12:02
@Automaat Automaat requested review from slonka and lobkovilya and removed request for a team October 21, 2024 12:02
@Automaat Automaat changed the title fix(gateway): MeshGateway tags validation consistent with MeshRoute tags validation fix(gateway): change MeshGateway tags validation to be consistent with MeshRoute tags validation Oct 21, 2024
Signed-off-by: Marcin Skalski <[email protected]>
@michaelbeaumont
Copy link
Contributor

I thought the MeshGateway was already looser, what's the difference between routes and gateways?

@michaelbeaumont
Copy link
Contributor

Why can't we just have

  • Leave MeshGateway validation, it already allows /
  • Change MeshRoute validation, it can now select /
    What am I missing?

Copy link
Contributor

@michaelbeaumont michaelbeaumont left a comment

Choose a reason for hiding this comment

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

That's what this PR does 😃

@Automaat Automaat merged commit 92cf31c into master Oct 23, 2024
13 checks passed
@Automaat Automaat deleted the fix/gatewa-validation branch October 23, 2024 11:20
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.

Restrict MeshGateway resource tags validation
3 participants