openshift / troubleshooting-panel-console-plugin

Console Plugin to add a troubleshooting side panel to display Korrel8r data
Apache License 2.0
0 stars 7 forks source link

bug: Troubleshooting panel generates incorrect URL for Pod label searches #61

Closed alanconway closed 2 months ago

alanconway commented 2 months ago

The troubleshooting panel puts label search information in the "q=" URL parameter, where it is ignored by the console. This should be in a "labels=" parameter.

For example: current URL:

https://console-openshift-console.apps.snoflake.home/k8s/ns/netobserv/pods?q=app.kubernetes.io%2Fcomponent%3Dquery-frontend

Should be:

https://console-openshift-console.apps.snoflake.home/k8s/ns/netobserv/pods?labels=app.kubernetes.io%2Fcomponent%3Dquery-frontend