harbur / kubernetic

Kubernetic - Supercharge your Kubernetes clusters
https://kubernetic.com
276 stars 26 forks source link

Unable to view CRD specifications #370

Open pinkfloydx33 opened 2 years ago

pinkfloydx33 commented 2 years ago

Among that actual resources created by a Helm Release, the Resources section of Release includes items of type CustomResourceDefinition. Clicking on one brings you back to the main dashboard after what appears to be an attempt at actually loading the CRD. At that point, pressing the "back" button doesn't do much--it attempts navigation back to the CRD which forwards back to the dashboard, all in a split second. I tried spamming "back" as fast as possible to return to the Release screen but couldn't seem to beat it.

https://user-images.githubusercontent.com/395615/184480574-49af84da-301d-4555-b6e2-86deddbdb939.mp4

I would expect that clicking on a CustomResourceDefinition would allow you to view something similar to the output of kubectl get crd/crd-name -o yaml.

As an alternative, clicking the CRD could navigate you to the same place that clicking it in the side-panel would. This wouldn't resolve the fact I'd like to view the actual CRD itself though.

Perhaps adding an option to view the specification could be added? Something like:

image