headlamp icon indicating copy to clipboard operation
headlamp copied to clipboard

Home View: Cannot access API properly

Open Alepernicolo opened this issue 1 year ago • 2 comments

Hey everyone, I have been wanting to edit the home view (issue 1397), specifically the table and thankfully I can do that now.

I now want to add a column that has specific data contained in a config map from a specific namespace (e.g. alpha). Unfortunately the documentation is a bit sparse and could not help. I have been trying everything going through the ConfigMap and Namespace scripts. Could it be that I cannot access cluster specific properties from within the home view?

Alepernicolo avatar Oct 16 '23 14:10 Alepernicolo

@Alepernicolo , the Home view is relatively new and our API for handling cluster resources assumes that you are in a cluster context for it to pick it up. However, we have a POC (is already a few months old) for using the cluster as an argument for any resource functions, in the aggregated-view branch. We will soon take on that POC and improve it, so that will unblock this functionality. We may work on the functionality of passing the cluster as an arg to those functions even before we finish the aggregated cluster view, so please allow us some time.

joaquimrocha avatar Oct 18 '23 10:10 joaquimrocha

Thanks for clarifying and your efforts. Of course, take your time.

Alepernicolo avatar Oct 18 '23 10:10 Alepernicolo

This is done in #1747

illume avatar Mar 04 '24 10:03 illume