Closed shreddedbacon closed 1 year ago
In the remote controller we check the services by listing pods, we should use the deployments to collect this information instead
Using pods can result in the services not matching the environment if the cli pod or nginx/php pods are scaled to 0 when the environment is triggered.
https://github.com/uselagoon/remote-controller/blob/main/controllers/v1beta1/podmonitor_buildhandlers.go#L269-L286
In the remote controller we check the services by listing pods, we should use the deployments to collect this information instead
Using pods can result in the services not matching the environment if the cli pod or nginx/php pods are scaled to 0 when the environment is triggered.
https://github.com/uselagoon/remote-controller/blob/main/controllers/v1beta1/podmonitor_buildhandlers.go#L269-L286