feat: use gatewayApi.parentRefs instead of gatewayApi.gatewayRef - #421
Open
nleconte-csgroup wants to merge 2 commits into
Open
feat: use gatewayApi.parentRefs instead of gatewayApi.gatewayRef#421nleconte-csgroup wants to merge 2 commits into
nleconte-csgroup wants to merge 2 commits into
Conversation
Signed-off-by: Nicolas Leconte <nicolas.leconte@cs-soprasteria.com> Signed-off-by: nleconte-csgroup <nicolas.leconte@cs-soprasteria.com>
nleconte-csgroup
force-pushed
the
feat/replace-gatewayRef-with-parentRefs
branch
from
August 5, 2026 09:09
b3fd19c to
7a51682
Compare
Signed-off-by: nleconte-csgroup <nicolas.leconte@cs-soprasteria.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Use
gatewayApi.parentRefsinstead ofgatewayApi.gatewayRef. This way we can set the HTTPRoute's parent to be either agatewayor alistenerSet.Before this values :
Would produce this part in the HTTPRoute :
After this PR, we can define the parentRefs with
gatewayApi.gatewayRefin thevalues.yamlfile :The part in the HTTPRoute :
But we can now also declare a listenerSet (https://gateway-api.sigs.k8s.io/reference/api-types/listenerset/) instead of a gateway directly. The
values.yamlfile :The part in the HTTPRoute :
Of course, a
listenerSetmust be created on the user's side.Checklist: