Skip to content

Commit

Permalink
Scan vips with prefix k8s-
Browse files Browse the repository at this point in the history
TODO make this configureable
  • Loading branch information
Jonas Falck committed May 4, 2021
1 parent c848e38 commit 63bad64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ func discoverNetwork(network string, queue chan func(context.Context), exporter
logrus.Error("missing reverse record for ", ip)
continue
}
if isVip(hostname) {
if isVip(hostname) && !strings.HasPrefix(hostname, "k8s-") {
logrus.Info("skipping vip ", hostname, ip)
continue
}
Expand Down

0 comments on commit 63bad64

Please sign in to comment.