gravitl / netmaker

Netmaker makes networks with WireGuard. Netmaker automates fast, secure, and distributed virtual networks.
https://netmaker.io
Other
9.4k stars 547 forks source link

[Bug]: Hub clients do not allow for dynamic endpoints (isStatic=="no") #1213

Closed ygelfand closed 4 months ago

ygelfand commented 2 years ago

Contact Details

No response

What happened?

Hub nodes currently are always set to IsStatic (https://github.com/gravitl/netmaker/blob/d0c42e28b432f8a119426be045ede2d2a93c72d3/models/node.go#L366-L367). Looking to have dynamic endpoints for hubs, e.g. in a k8s deployment, where the hub pod can shift nodes.

Mentioned in https://discord.com/channels/825071750290210916/975815715556851782/983737306722734132

Version

v0.14.2

What OS are you using?

Linux

Relevant log output

No response

Contributing guidelines

abhishek9686 commented 4 months ago

@ygelfand there is no concept of hub pod anymore, netclients can have dynamic endpoints