-
Notifications
You must be signed in to change notification settings - Fork 123
Ensure dataplane.Configuration related types don't include v1beta1 types #660
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
Labels
refined
Requirements are refined and the issue is ready to be implemented.
size/medium
Estimated to be completed within a week
tech-debt
Short-term pain, long-term benefit
Milestone
Comments
6 tasks
pleshakov
added a commit
to pleshakov/nginx-gateway-fabric
that referenced
this issue
Aug 15, 2023
…e package Problem: Configuration-related types in the data plane package include Gateway API types. As a result: - We need to make any validation-related assumptions about them (ex. certain fields cannot be not nil) in the config package. - It makes it difficult maintain/extend and potentially allow for supporting more routing resource types (outside of Gateway API) in the future. - It makes unit tests more complicated in the config package Solution: - Remove Gateway API types from Configuration-related types. - Move the types to types.go file. - Move converters to convert.go Testing: Unit testing Closes nginx#660
6 tasks
pleshakov
added a commit
that referenced
this issue
Aug 18, 2023
…e package (#976) Problem: Configuration-related types in the data plane package include Gateway API types. As a result: - We need to make any validation-related assumptions about them (ex. certain fields cannot be not nil) in the config package. - It makes it difficult maintain/extend and potentially allow for supporting more routing resource types (outside of Gateway API) in the future. - It makes unit tests more complicated in the config package Solution: - Remove Gateway API types from Configuration-related types. - Move the types to types.go file. - Move converters to convert.go Testing: Unit testing Closes #660
miledxz
added a commit
to miledxz/nginx-gateway-fabric
that referenced
this issue
Jan 14, 2025
…e package (nginx#976) Problem: Configuration-related types in the data plane package include Gateway API types. As a result: - We need to make any validation-related assumptions about them (ex. certain fields cannot be not nil) in the config package. - It makes it difficult maintain/extend and potentially allow for supporting more routing resource types (outside of Gateway API) in the future. - It makes unit tests more complicated in the config package Solution: - Remove Gateway API types from Configuration-related types. - Move the types to types.go file. - Move converters to convert.go Testing: Unit testing Closes nginx#660
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
refined
Requirements are refined and the issue is ready to be implemented.
size/medium
Estimated to be completed within a week
tech-debt
Short-term pain, long-term benefit
Uh oh!
There was an error while loading. Please reload this page.
Ensure dataplane.Configuration -related types don't include v1beta1 types:
FIXME in the code -- https://github.com/nginxinc/nginx-gateway-kubernetes/blob/890fddb787ff3560b9b743647a36b649d498ae51/internal/nginx/config/servers.go#L135
The text was updated successfully, but these errors were encountered: