upbound / up

The @upbound CLI
Apache License 2.0
49 stars 42 forks source link

query: Fix kubeconfig fetching in `up alpha query` #540

Closed adamwg closed 1 month ago

adamwg commented 1 month ago

Description of your changes

Previously, we were binding an api.Config to the kong context, when the commands expect a *rest.Config. Bind the correct kind of config so that up alpha query works as expected.

I have:

How has this code been tested

Manual verification that up alpha query can be used to exercise the query API.