Skip to content

Commit

Permalink
More fixes to the fields to index:
Browse files Browse the repository at this point in the history
- Remove the erroneously added management.cattle.io.nodes fields
- Use the builtin Event class, not events.k8s.io (by looking at the dashboard client code)
  • Loading branch information
ericpromislow committed Sep 11, 2024
1 parent cedc610 commit b97d575
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions pkg/stores/sqlproxy/proxy_store.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,18 +86,8 @@ var (
},
gvkKey("cluster.x-k8s.io", "v1beta1", "Machine"): {
{"spec", "clusterName"}},
gvkKey("events.k8s.io", "v1", "Event"): {
{"_type"},
{"involvedObject", "kind"},
{"message"},
{"reason"},
},
gvkKey("management.cattle.io", "v3", "Node"): {
{"involvedObject", "kind"},
{"metadata", "state", "message"},
{"status", "conditions", "reason"},
{"type"},
},
{"status", "nodeName"}},
gvkKey("management.cattle.io", "v3", "NodePool"): {
{"spec", "clusterName"}},
gvkKey("management.cattle.io", "v3", "NodeTemplate"): {
Expand Down

0 comments on commit b97d575

Please sign in to comment.