Skip to content

Commit 531dad1

Browse files
fix: remove hardcoding of datasource and filter
Signed-off-by: Abhilash Shetty <[email protected]>
1 parent 3738a77 commit 531dad1

File tree

3 files changed

+7
-11
lines changed

3 files changed

+7
-11
lines changed

deploy/charts/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,12 @@ keywords:
2222
# This is the chart version. This version number should be incremented each time you make changes
2323
# to the chart and its templates, including the app version.
2424
# Versions are expected to follow Semantic Versioning (https://semver.org/)
25-
version: 4.1.0
25+
version: 4.1.1
2626

2727
# This is the version number of the application being deployed. This version number should be
2828
# incremented each time you make changes to the application. Versions are not expected to
2929
# follow Semantic Versioning. They should reflect the version the application is using.
30-
appVersion: 4.1.0
30+
appVersion: 4.1.1
3131

3232
dependencies:
3333
- name: kube-prometheus-stack

deploy/charts/dashboards/mayastor/mayastor-diskpool.json

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -793,16 +793,12 @@
793793
{
794794
"current": {
795795
"selected": true,
796-
"text": [
797-
"pool-on-node-1"
798-
],
799-
"value": [
800-
"pool-on-node-1"
801-
]
796+
"text": "All",
797+
"value": "*"
802798
},
803799
"datasource": {
804800
"type": "prometheus",
805-
"uid": "prometheus"
801+
"uid": "${datasource}"
806802
},
807803
"definition": "label_values(diskpool_status,name)",
808804
"hide": 0,

deploy/charts/dashboards/mayastor/mayastor-volume.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -380,10 +380,10 @@
380380
"current": {
381381
"selected": true,
382382
"text": [
383-
"pvc-d070ac1c-6bb7-4ece-9893-5471c0c636a8"
383+
"All"
384384
],
385385
"value": [
386-
"pvc-d070ac1c-6bb7-4ece-9893-5471c0c636a8"
386+
"*"
387387
]
388388
},
389389
"datasource": {

0 commit comments

Comments
 (0)