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

Feature Request: Automate ReferenceGrant Creation When Using HTTPRoute with Gateway API in Flagger #1718

Open
kahirokunn opened this issue Oct 31, 2024 · 0 comments

Comments

@kahirokunn
Copy link

Describe the feature

What problem are you trying to solve?

When using Flagger with the Gateway API to create HTTPRoutes, users must currently create a ReferenceGrant manually to allow cross-namespace references between the HTTPRoute and the relevant resources (such as Gateways). This manual step adds overhead, and missing a ReferenceGrant can lead to configuration issues and delays in setup.

Proposed solution

Implement functionality in Flagger to automatically create a ReferenceGrant whenever an HTTPRoute is created with a cross-namespace reference requirement. This automation would simplify the process, minimize manual configuration, and reduce the likelihood of errors due to missing permissions.

Considered drawbacks

  • This approach may add complexity to the Flagger codebase.

Any alternatives you've considered?

  1. Manual Creation: Users can continue to create ReferenceGrants manually, but this approach is prone to user error and slows down deployment workflows.
  2. CLI Tool: Providing a CLI tool or script to generate necessary ReferenceGrants could help, but it lacks the seamless experience of automated creation within Flagger itself.
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

No branches or pull requests

1 participant