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:
parent
d3269c91eb
commit
8666ce1f54
@ -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]"},
|
||||
|
Loading…
Reference in New Issue
Block a user