From 2ab69fdac05869cf7ff5b6243f34389b4f8359a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johannes=20W=C3=BCrbach?= <johannes.wuerbach@googlemail.com> Date: Tue, 7 Apr 2020 22:01:26 +0200 Subject: [PATCH] Fix rules window --- .../prometheus-adapter/prometheus-adapter.libsonnet | 2 +- manifests/prometheus-adapter-configMap.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/jsonnet/kube-prometheus/prometheus-adapter/prometheus-adapter.libsonnet b/jsonnet/kube-prometheus/prometheus-adapter/prometheus-adapter.libsonnet index e093c375..97e41f81 100644 --- a/jsonnet/kube-prometheus/prometheus-adapter/prometheus-adapter.libsonnet +++ b/jsonnet/kube-prometheus/prometheus-adapter/prometheus-adapter.libsonnet @@ -54,7 +54,7 @@ local k = import 'ksonnet/ksonnet.beta.4/k.libsonnet'; }, containerLabel: 'container' }, - window: 5, + window: '5m', }, } }, diff --git a/manifests/prometheus-adapter-configMap.yaml b/manifests/prometheus-adapter-configMap.yaml index 7bbe7b14..b2bde3cd 100644 --- a/manifests/prometheus-adapter-configMap.yaml +++ b/manifests/prometheus-adapter-configMap.yaml @@ -26,7 +26,7 @@ data: "resource": "namespace" "pod": "resource": "pod" - "window": 5 + "window": "5m" kind: ConfigMap metadata: name: adapter-config -- GitLab