From c1454fcb2c7b2fc14700e5429cec746e7c9f04cd Mon Sep 17 00:00:00 2001 From: michaeljguarino Date: Thu, 19 Dec 2024 14:10:46 -0500 Subject: [PATCH] Change kubecost window param (#327) --- internal/controller/kubecostextractor_controller.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/controller/kubecostextractor_controller.go b/internal/controller/kubecostextractor_controller.go index d371af85..ddf483af 100644 --- a/internal/controller/kubecostextractor_controller.go +++ b/internal/controller/kubecostextractor_controller.go @@ -213,7 +213,7 @@ func (r *KubecostExtractorReconciler) fetch(host, path string, params map[string func (r *KubecostExtractorReconciler) getAllocation(ctx context.Context, srv *corev1.Service, servicePort, aggregate string) (*allocationResponse, error) { queryParams := map[string]string{ - "window": "month", + "window": "30d", "aggregate": aggregate, "accumulate": "true", }