Update main.go
All checks were successful
Build Go Binary / build (push) Successful in 34s

This commit is contained in:
holzi1005 2025-08-04 10:04:22 +02:00
parent 2e3bcfac2d
commit 926170e617

View file

@ -178,7 +178,7 @@ func main() {
backends := []Backend{}
for _, svc := range services {
if svc.Spec.Type != "LoadBalancer" {
if svc.Spec.Type != "Ingress" {
continue
}
key := svc.Metadata.Namespace + "/" + svc.Metadata.Name