1
0
mirror of https://github.com/rancher/steve.git synced 2025-07-12 22:28:40 +00:00

Update indexed fields (#433)

* Update indexed fields

* Add .status.currentReplicas
This commit is contained in:
Tom Lebreux 2025-01-09 09:35:49 -05:00 committed by GitHub
parent d3269c91eb
commit 8666ce1f54
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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"): {
@ -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]"},