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

Enforce lowercase peer names. #15697

Merged
merged 2 commits into from
Jan 13, 2023
Merged

Conversation

hashi-derek
Copy link
Member

@hashi-derek hashi-derek commented Dec 6, 2022

Prior to this change peer names could be mixed case. This can cause issues, as many state store lookups and some envoy configurations are case-sensitive, but TLS certificates and DNS are not.

This PR does not modify existing peering connections. It only prevents new ones from being created that include uppercase characters. Users are encouraged to delete old peerings and recreate them with all lowercase characters.

@hashi-derek hashi-derek force-pushed the derekm/NET-1737/lowercase-peername branch from 8e8e5ec to 50ceec9 Compare December 12, 2022 20:18
Prior to this change peer names could be mixed case.
This can cause issues, as peer names are used as DNS labels
in various locations. It also caused issues with envoy
configuration.
@hashi-derek hashi-derek force-pushed the derekm/NET-1737/lowercase-peername branch from 50ceec9 to e188932 Compare January 13, 2023 14:44
@hashi-derek hashi-derek added the backport-inactive/1.14 This release series is no longer active label Jan 13, 2023
@hashi-derek hashi-derek requested review from a team, kyhavlov and ndhanushkodi and removed request for a team January 13, 2023 15:01
@hashi-derek hashi-derek marked this pull request as ready for review January 13, 2023 15:02
@hashi-derek hashi-derek removed the backport-inactive/1.14 This release series is no longer active label Jan 13, 2023
@hashi-derek hashi-derek merged commit 19a46d6 into main Jan 13, 2023
@hashi-derek hashi-derek deleted the derekm/NET-1737/lowercase-peername branch January 13, 2023 20:20
@hashi-derek hashi-derek added the backport-inactive/1.14 This release series is no longer active label Jan 13, 2023
skpratt pushed a commit that referenced this pull request Jan 25, 2023
Enforce lowercase peer names.

Prior to this change peer names could be mixed case.
This can cause issues, as peer names are used as DNS labels
in various locations. It also caused issues with envoy
configuration.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-inactive/1.14 This release series is no longer active
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants