fix(grafana) Drop down cascade of the namespace, pipeline, and task.

Above was not working correctly. This patchset is set to fix the drop down menus to remove
other namespace objects when slecting specific resources

Change-Id: I06eebdfbf285a2faeb2a357911b6593045dddcd1
This commit is contained in:
mn9209 2021-01-27 13:44:20 -06:00 committed by Rick Bartra
parent 673d29436c
commit b1601449f0

View File

@ -647,7 +647,7 @@ loki-stack:
"useTags": false
},
{
"allValue": ".*",
"allValue": "^$namespace.*",
"current": {
"selected": false,
"text": "All",
@ -664,7 +664,7 @@ loki-stack:
"options": [],
"query": "label_values(mixin_pod_workload{namespace=\"namespace\"}, tekton_dev_pipeline)",
"refresh": 1,
"regex": "",
"regex": "^$namespace.*",
"skipUrlSync": false,
"sort": 5,
"tagValuesQuery": "",
@ -674,7 +674,7 @@ loki-stack:
"useTags": false
},
{
"allValue": ".*",
"allValue": "^$namespace.*",
"current": {
"selected": false,
"text": "All",
@ -691,7 +691,7 @@ loki-stack:
"options": [],
"query": "label_values(mixin_pod_workload{namespace=\"$namespace\"}, tekton_dev_pipelineRun)",
"refresh": 1,
"regex": "",
"regex": "^$namespace.*",
"skipUrlSync": false,
"sort": 5,
"tagValuesQuery": "",
@ -701,7 +701,7 @@ loki-stack:
"useTags": false
},
{
"allValue": ".*",
"allValue": "^$namespace.*",
"current": {
"selected": false,
"text": "All",
@ -718,7 +718,7 @@ loki-stack:
"options": [],
"query": "label_values(mixin_pod_workload{namespace=\"$namespace\"}, tekton_dev_taskRun)",
"refresh": 1,
"regex": "",
"regex": "^$namespace.*",
"skipUrlSync": false,
"sort": 5,
"tagValuesQuery": "",