-
Notifications
You must be signed in to change notification settings - Fork 40.1k
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
Allow create to handle multiple resources, remove createall #3196
Allow create to handle multiple resources, remove createall #3196
Conversation
Only the last commit two commits are new, the others are represented in #3004 |
d8243ff
to
63d65ee
Compare
Nice. Waiting on #3004 to merge. Have you started doing this to update, also? |
Not yet, that was the last. Update had some weirdness with defaulting values I wanted to read over your proposals on various management style things. |
Update I also need to look at PUT behavior on the client (offering an alternative to our current behavior, which is total overwrite) |
Fair enough. Yes, I made a number of comments about different flavors of updates on #3233, which should be in line with my previous comments on that topic. |
1e7f3b5
to
8a55a83
Compare
Like Delete, which can now run over multiple types: kubectl delete pods,services -l name=foo Get should be able to span items for label selection kubectl get pods,services -l name=foo
8a55a83
to
bc86b31
Compare
I merged #3004. Please rebase, and I'll merge this one. |
Doesn't seem to need rebase |
Since the #3004 was a straight merge of two tips without a rebase |
…ources Allow create to handle multiple resources, remove createall
Create now can leverage resource.Builder to take as input multiple objects, and will report any failures that occur. The '-f' command is extended to support multiple inputs:
And will enumerate in the order provided. Directories are non-recursive and will process any JSON or YAML files found.
In addition, "List" is supported as a type, so given:
you can export a subset of your app to another namespace.