-
Notifications
You must be signed in to change notification settings - Fork 50
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
API URL broken in build script when using dual stack configs #111
Comments
Hi @djh00t, I never used k3s (and this module) in dual stack mode, so thanks a lot for your feedback. |
Hello @xunleii - I was just about to send a PR to fix this :) Let me test and come back to you shortly. |
Hello @xunleii, After testing your PR, there were a bunch of other changes required to get K3S to build reliably using both native IPv6 and dual stack IPv4/IPv6. Please consider PR #113 for inclusion. I have tested all 3 K3S install modes and they all work without error. If you'd like any further changes made please let me know. |
Howdy!
I am building a dual stack cluster however the installer doesn't work and needs to be manually hacked around to get servers to build due to a malformed Kube API URL in the installer:
K8S Server Config
Script that is output
I've taken a look at the code and I could use
root_server_ip = values(var.servers)[0].connection.host
but that seems like a hack, perhaps the first value in the dual stack pair should be parsed and used instead?The text was updated successfully, but these errors were encountered: