PHP Warning: Undefined array key "host" in phar:///usr/local/bin/kubernetes-pfsense-controller/src/KubernetesPfSenseController/Plugin/HAProxyIngressProxy.php on line 233
PHP Warning: Undefined array key "host" in phar:///usr/local/bin/kubernetes-pfsense-controller/src/KubernetesPfSenseController/Plugin/HAProxyIngressProxy.php on line 428
I noticed there is also a check for empty($host) so we only need to address missing array key here, which I've done here.
First of all, thanks for a great project!
Ingress resources don't necessarily have host defined, f.e. I have this (manually created) ingress resource with only path defined:
But it produces php warnings:
I noticed there is also a check for
empty($host)
so we only need to address missing array key here, which I've done here.