Skip to content

Do not wrap Kubernetes Address in brackets#4363

Merged
nabokihms merged 1 commit intodexidp:masterfrom
deckhouse:fix-ip-v4-brackets
Oct 23, 2025
Merged

Do not wrap Kubernetes Address in brackets#4363
nabokihms merged 1 commit intodexidp:masterfrom
deckhouse:fix-ip-v4-brackets

Conversation

@nabokihms
Copy link
Copy Markdown
Member

Overview

Wrap only ipv6 addresses in brackets

What this PR does / why we need it

In the latest go versions (1.25.2, 1.24.8) the bug was fixed, and now Dex fails with an error

failed to initialize storage: cannot get kubernetes version: parse "https://[10.1.1.0]:443/version": invalid IPv6 host

Special notes for your reviewer

Signed-off-by: maksim.nabokikh <max.nabokih@gmail.com>
@nabokihms
Copy link
Copy Markdown
Member Author

Tested this PR on prod clusters, everything seems fine so far. Merging.

@nabokihms nabokihms merged commit 7e2225c into dexidp:master Oct 23, 2025
9 checks passed
oasisk pushed a commit to openobserve/dex that referenced this pull request Nov 26, 2025
Signed-off-by: maksim.nabokikh <max.nabokih@gmail.com>
@alamorre
Copy link
Copy Markdown

Hello! Do we know when an official release with this fix is coming out?
Appreciate any info - happy holidays!

yardenshoham pushed a commit to yardenshoham/dex that referenced this pull request Jan 29, 2026
Signed-off-by: maksim.nabokikh <max.nabokih@gmail.com>
Signed-off-by: Yarden Shoham <git@yardenshoham.com>
octo-sts bot pushed a commit to wolfi-dev/os that referenced this pull request Mar 3, 2026
The fix "Do not wrap Kubernetes Address in brackets" (dexidp/dex#4363)
is included in the v2.45.0 release, making the cherry-pick redundant.

https://github.com/dexidp/dex/releases/tag/v2.45.0


Export:  c67ac84
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants