Skip to content

Commit

Permalink
istio: do not fetch deprecated quotaspecs and quotaspecbindings
Browse files Browse the repository at this point in the history
  • Loading branch information
lebauce committed Sep 13, 2021
1 parent 87889d2 commit ef3b1c8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 102 deletions.
12 changes: 4 additions & 8 deletions topology/probes/istio/istio.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,10 @@ func NewIstioProbe(g *graph.Graph) (*k8s.Probe, error) {
}

subprobeHandlers := map[string]k8s.SubprobeHandler{
"destinationrule": newDestinationRuleProbe,
"gateway": newGatewayProbe,
"quotaspec": newQuotaSpecProbe,
"quotaspecbinding": newQuotaSpecBindingProbe,
"serviceentry": newServiceEntryProbe,
"virtualservice": newVirtualServiceProbe,
"destinationrule": newDestinationRuleProbe,
"gateway": newGatewayProbe,
"serviceentry": newServiceEntryProbe,
"virtualservice": newVirtualServiceProbe,
}

k8s.InitSubprobes(enabledSubprobes, subprobeHandlers, client, g, Manager, "")
Expand All @@ -75,8 +73,6 @@ func NewIstioProbe(g *graph.Graph) (*k8s.Probe, error) {
probe.AppendNamespaceLinkers(
"destinationrule",
"gateway",
"quotaspec",
"quotaspecbinding",
"serviceentry",
"virtualservice",
)
Expand Down
47 changes: 0 additions & 47 deletions topology/probes/istio/quotaspec.go

This file was deleted.

47 changes: 0 additions & 47 deletions topology/probes/istio/quotaspecbinding.go

This file was deleted.

0 comments on commit ef3b1c8

Please sign in to comment.