This commit is contained in:
parent
2e3bcfac2d
commit
926170e617
1 changed files with 1 additions and 1 deletions
2
main.go
2
main.go
|
@ -178,7 +178,7 @@ func main() {
|
||||||
backends := []Backend{}
|
backends := []Backend{}
|
||||||
|
|
||||||
for _, svc := range services {
|
for _, svc := range services {
|
||||||
if svc.Spec.Type != "LoadBalancer" {
|
if svc.Spec.Type != "Ingress" {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
key := svc.Metadata.Namespace + "/" + svc.Metadata.Name
|
key := svc.Metadata.Namespace + "/" + svc.Metadata.Name
|
||||||
|
|
Loading…
Add table
Reference in a new issue