-
Notifications
You must be signed in to change notification settings - Fork 26
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
Client expects to see namespace
on all resources
#32
Comments
There's some haphazard |
In what kind of usages, as examples? |
Let's say I want to push a plain pod like
With |
So that would be: client = K8s::Client.config(K8s::Config.load_file(ENV['KUBECONFIG']))
client.create_resource(K8s::Resource.from_file('pod.yml')) You can already get pretty close with
There's going to be quite a lot of those kinds of small places to fix, so it would be good to go through some of the usecases to figure out the details. |
This isn't as simple as just having |
There are three cases to consider:
|
It doesn't seem to use the contexts namespace from the config. IMO it should take that into account.
The text was updated successfully, but these errors were encountered: