cnrancher / kube-explorer

A portable explorer for Kubernetes, without any dependency.
Apache License 2.0
246 stars 30 forks source link

CRD support? #29

Closed liyimeng closed 2 years ago

liyimeng commented 2 years ago

Thanks for the great work. This tiny tool is cool. However, I am wondering if can support crd resource. I download and run it to explore my cluster. All k8s standard resource can be seen from the UI, but none CRD showing up. Is this the way it supposed to be?

niusmallnan commented 2 years ago

@liyimeng The kube-explorer can show the CRD. You can click the Resource Search icon in the upper right corner and try to retrieve the desired CRD. If you want to visit some specific CRDs frequently, you can click the five-pointed star to collect them.

liyimeng commented 2 years ago

@niusmallnan superb! I found it, so cool! I see Steve support auth webhook, and cube-explorer use basic auth via ingress. Can we add a simple auth webhook?

niusmallnan commented 2 years ago

I thought the user would run kube-explorer locally and only allow localhost access.

I'm concerned that simple basic auth is being abused causing a lot of security issues.

niusmallnan commented 2 years ago

Allowing access to webhook auth is a good idea. However, I'm not too familiar with whether there is a good standard for webhook auth.

liyimeng commented 2 years ago

Thanks for the info! @niusmallnan I saw some webhook auth code in Steve code base, hence think there might some work in progress.