lensapp/lens

Discovery based API support

Offen

#666 geöffnet am 10.08.2020

 (1 Kommentar) (0 Reaktionen) (0 zugewiesene Personen)TypeScript (1.433 Forks)batch import
bugenhancementhelp wanted

Repository-Metriken

Stars
 (22.003 Sterne)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

What would you like to be added: A mechanism for cluster supported APIs to be discovered and handled automatically.

Why is this needed: Currently, our KubeApi<T> interface treats a version difference (say between v1beta1 and v1 of customresourcedefinition) as completely different apis and thus when trying to create a new CRD in lens unhelpful error messages are being displayed.

I don't know if this is a problem with other aspects of lens but it seems like definitely could be.

Possible Solutions:

  • Do nothing, keep manually adding apis as they come up
  • Add some sort of discovery mechanism that (might) request the supported APIs via kubectl or something similar.

Contributor Guide