Skip to content

Commit

Permalink
Update indexed fields (#433)
Browse files Browse the repository at this point in the history
* Update indexed fields

* Add .status.currentReplicas
  • Loading branch information
tomleb authored Jan 9, 2025
1 parent d3269c9 commit 8666ce1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pkg/stores/sqlproxy/proxy_store.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,11 @@ var (
{"spec", "containers", "image"},
{"spec", "nodeName"}},
gvkKey("", "v1", "Service"): {
{"spec", "targetPort"},
{"spec", "clusterIP"},
{"spec", "type"},
},
gvkKey("networking.k8s.io", "v1", "Ingress"): {
{"spec", "rules"},
{"spec", "rules", "host"},
{"spec", "ingressClassName"},
},
gvkKey("", "v1", "ConfigMap"): {
Expand All @@ -90,11 +90,11 @@ var (
},
gvkKey("", "v1", "PersistentVolumeClaim"): {
{"spec", "volumeName"}},
gvkKey("autoscaling", "v1", "HorizontalPodAutoscaler"): {
gvkKey("autoscaling", "v2", "HorizontalPodAutoscaler"): {
{"spec", "scaleTargetRef", "name"},
{"spec", "minReplicas"},
{"spec", "maxReplicas"},
{"spec", "currentReplicas"},
{"status", "currentReplicas"},
},
gvkKey("apps", "v1", "DaemonSet"): {
{"metadata", "annotations[field.cattle.io/publicEndpoints]"},
Expand Down

0 comments on commit 8666ce1

Please sign in to comment.