Skip to content

Conversation

strowi
Copy link
Contributor

@strowi strowi commented Jul 19, 2024

What are you trying to accomplish with this PR?
fix #892

How is this accomplished?
kubectl.run("get", "--raw", path, attempts: 2, use_namespace: false) in resource-discovery is using statich / as path which breaks when api_paths are not at the root level.
There is already a dynamic discovery for base_api_path, so using that similar to api_path_cache fixes the error.

What could go wrong?

  • maybe wrong paths being discovered ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Error retrieving raw URIs from Rancher / Proxied-APIs

1 participant