kubernetes-pfsense-controller
kubernetes-pfsense-controller copied to clipboard
Return comma separated list of LB IPs not just first
- Set unbound IP as comma separated list of LB IPs not just first
- Keep first IP behavior for dnsmasq
- Fix bug if no hosts are set in dnsmasq or unbound
Addresses #27
Demoed changes on https://onlinephp.io/c/ae9bb, and building locally. As mentioned, open to making this a setting, but I think all pfSense versions except those with the bug linked in #27 should accept a comma-separated list.
Slightly messy with implode/explode, but I didn't want to change the struct being used too much.