Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix node registration ip on dual stack (#230)
When using a user defined node ip on a dual stack cluster, k3s_node_ip will contain "ipv4,ipv6" IP. In order to properly set the registration IP, the first (preferred) IP in the list is used, and if it is the IPv6 IP it will be URL wrapped.
- Loading branch information