-
Notifications
You must be signed in to change notification settings - Fork 20
Proxy URL support, gzip support, tailLines
parameter on log requests, and some other minor tweaks
#43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@ewilken Hey there, thanks a lot for the PR. You don't need to split it into separate ones. But I'll nitpick a little bit 😜 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
well, there was not much to nitpick about :)
…ome `KubeConfig` child structs
Nice, thanks 👍 |
Amazing! Thank you very much for the super quick review and release! 🙂 |
This is a collection of tweaks that I've been running in production on Nautik for some time. Please let me know if you'd prefer getting them upstreamed as separate PRs instead of having them all cramped into one. In case it's okay like this, this PR does the following:
tailLines
parameter to the log request to be able to limit the number of lines requested from the server just like the upstream client does.RequestBuilder
where a path was overwritten where it should have been appended. This became apparent with users using Rancher, where the base path already had a/
in it. This change fixed it for all types of clusters, Rancher or not, but please let me know if I'm missing something here.doesNotExist
variant toLabelSelectorRequirement
, akin to the upstream "DoesNotExist" variant on selectors.installHint
,provideClusterInfo
andinteractiveMode
fields toExecConfig
.ExecCredential
public, as we need it to roll our own exec implementation that is probably too messy to ever be upstreamed.Cluster
andAuthInfo
and makeCluster
,AuthInfo
,AuthProviderConfig
,ExecConfig
andExecEnvVar
conform toHashable
andEquatable
, as we need to initialize and compare them in different places on the app. I hope this makes sense to upstream and doesn't interfere with anything you have in mind. Otherwise, please just let me know and I'll keep it downstream.