From a1cc057f72b5c600dd684b7bdd7981472fbe6493 Mon Sep 17 00:00:00 2001 From: Habibur Rahaman Emon Date: Thu, 7 Oct 2021 16:46:11 +0600 Subject: [PATCH] Add fields to redis-metrics (#366) Signed-off-by: Emon46 --- .../templates/metricsconfig-kubedb-com-redis.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/charts/kubedb-metrics/templates/metricsconfig-kubedb-com-redis.yaml b/charts/kubedb-metrics/templates/metricsconfig-kubedb-com-redis.yaml index 5ebd9e6da..d2ad58369 100644 --- a/charts/kubedb-metrics/templates/metricsconfig-kubedb-com-redis.yaml +++ b/charts/kubedb-metrics/templates/metricsconfig-kubedb-com-redis.yaml @@ -87,6 +87,10 @@ spec: help: "Redis instance information" type: gauge labels: + - key: version + valuePath: .spec.version + - key: mode + valuePath: .spec.mode - key: storageType valuePath: .spec.storageType - key: terminationPolicy