Skip to content

Use service hostname instead of pod IP as operator address.#66

Open
m00nwtchr wants to merge 1 commit intol7mp:mainfrom
m00nwtchr:ipv6-2
Open

Use service hostname instead of pod IP as operator address.#66
m00nwtchr wants to merge 1 commit intol7mp:mainfrom
m00nwtchr:ipv6-2

Conversation

@m00nwtchr
Copy link
Copy Markdown

@m00nwtchr m00nwtchr commented Mar 8, 2026

This fixes an error that prevents the operator from running at all in IPv6 or dual-stack (IPv6-first) clusters. I checked thru the code of the operator and stunner to make sure that it doesn't cause any unforeseen issues, and I've been running the chart with this change in my cluster for some time now.

One possible issue might be if one is running multiple replicas of the operator, but I believe that should be solved by only pointing the service at the pod which is currently acting as the leader, which would require changes to the operator.

But the stunner-auth service already uses this Service to discover configuration, which I assume means that is not a concern.

@rg0now
Copy link
Copy Markdown
Member

rg0now commented Mar 10, 2026

Thanks, this looks cool, just one request: can we make this optional? We know of a couple of people running multiple operator instances. I think we can make this behavior the default, but we need a safe fallback for people running multiple operators.

@m00nwtchr
Copy link
Copy Markdown
Author

Sure, I'll add that.

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

Successfully merging this pull request may close these issues.

2 participants