I seem to be seeing this quite a lot in the logs for the pod when this runs...
2022-10-25T14:56:17+00:00 controller config loaded/updated
2022-10-25T14:56:17+00:00 loading plugin haproxy-declarative
PHP Warning: Undefined array key "data" in phar:///usr/local/bin/kubernetes-pfsense-controller/src/KubernetesPfSenseController/Plugin/HAProxyDeclarative.php on line 310
PHP Warning: Trying to access array offset on value of type null in phar:///usr/local/bin/kubernetes-pfsense-controller/src/KubernetesPfSenseController/Plugin/HAProxyDeclarative.php on line 310
PHP Warning: foreach() argument must be of type array|object, null given in phar:///usr/local/bin/kubernetes-pfsense-controller/src/KubernetesPfSenseController/Plugin/HAProxyDeclarative.php on line 310
PHP Warning: Undefined array key "data" in phar:///usr/local/bin/kubernetes-pfsense-controller/src/KubernetesPfSenseController/Plugin/HAProxyDeclarative.php on line 310
PHP Warning: Trying to access array offset on value of type null in phar:///usr/local/bin/kubernetes-pfsense-controller/src/KubernetesPfSenseController/Plugin/HAProxyDeclarative.php on line 310
PHP Warning: foreach() argument must be of type array|object, null given in phar:///usr/local/bin/kubernetes-pfsense-controller/src/KubernetesPfSenseController/Plugin/HAProxyDeclarative.php on line 310
PHP Warning: Undefined array key "data" in phar:///usr/local/bin/kubernetes-pfsense-controller/src/KubernetesPfSenseController/Plugin/HAProxyDeclarative.php on line 100
PHP Warning: Trying to access array offset on value of type null in phar:///usr/local/bin/kubernetes-pfsense-controller/src/KubernetesPfSenseController/Plugin/HAProxyDeclarative.php on line 100
PHP Warning: foreach() argument must be of type array|object, null given in phar:///usr/local/bin/kubernetes-pfsense-controller/src/KubernetesPfSenseController/Plugin/HAProxyDeclarative.php on line 100
2022-10-25T14:56:18+00:00 plugin (haproxy-declarative): successfully reloaded HAProxy service
PHP Warning: Undefined array key "data" in phar:///usr/local/bin/kubernetes-pfsense-controller/src/KubernetesPfSenseController/Plugin/HAProxyDeclarative.php on line 310
PHP Warning: Trying to access array offset on value of type null in phar:///usr/local/bin/kubernetes-pfsense-controller/src/KubernetesPfSenseController/Plugin/HAProxyDeclarative.php on line 310
PHP Warning: foreach() argument must be of type array|object, null given in phar:///usr/local/bin/kubernetes-pfsense-controller/src/KubernetesPfSenseController/Plugin/HAProxyDeclarative.php on line 310
PHP Warning: Undefined array key "data" in phar:///usr/local/bin/kubernetes-pfsense-controller/src/KubernetesPfSenseController/Plugin/HAProxyDeclarative.php on line 310
PHP Warning: Trying to access array offset on value of type null in phar:///usr/local/bin/kubernetes-pfsense-controller/src/KubernetesPfSenseController/Plugin/HAProxyDeclarative.php on line 310
PHP Warning: foreach() argument must be of type array|object, null given in phar:///usr/local/bin/kubernetes-pfsense-controller/src/KubernetesPfSenseController/Plugin/HAProxyDeclarative.php on line 310
I'm not sure why its happening but I've been trying to debug all afternoon and cant seem to see any patterns...
I'm using the declarative plugin only with a custom configmap as (just to test):
I seem to be seeing this quite a lot in the logs for the pod when this runs...
I'm not sure why its happening but I've been trying to debug all afternoon and cant seem to see any patterns...
I'm using the declarative plugin only with a custom configmap as (just to test):