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
Extend kubectl example with apply + edit and example improvements #897
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
clux
commented
May 5, 2022
clux
changed the title
Extend kubectl example with an apply method
Extend kubectl example with apply + edit subcommands
May 5, 2022
clux
commented
May 5, 2022
This comment was marked as off-topic.
This comment was marked as off-topic.
Can apply yaml from multidoc files using helpers from #896 Signed-off-by: clux <sszynrae@gmail.com>
Signed-off-by: clux <sszynrae@gmail.com>
Signed-off-by: clux <sszynrae@gmail.com>
ok i will stop now. this is surprisingly easy. Signed-off-by: clux <sszynrae@gmail.com>
Signed-off-by: clux <sszynrae@gmail.com>
Signed-off-by: clux <sszynrae@gmail.com>
Signed-off-by: clux <sszynrae@gmail.com>
Signed-off-by: clux <sszynrae@gmail.com>
Signed-off-by: clux <sszynrae@gmail.com>
no need to use NAMESPACE evars. people can use kns or similar to change namespace. rely on default_namespaced. Signed-off-by: clux <sszynrae@gmail.com>
better to let people rely on default_namespaced and switch with kns also updates docs for these Signed-off-by: clux <sszynrae@gmail.com>
clux
changed the title
Extend kubectl example with apply + edit subcommands
Extend kubectl example with apply + edit and example improvements
May 7, 2022
Signed-off-by: clux <sszynrae@gmail.com>
Signed-off-by: clux <sszynrae@gmail.com>
kazk
approved these changes
May 11, 2022
Signed-off-by: clux <sszynrae@gmail.com>
Signed-off-by: clux <sszynrae@gmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Improves
kubectl
example - see this file)apply
support via yaml from multidoc files using helpers from Add GroupVersion::with_kind and TypeMeta -> GroupVersionKind converters #896 + serverside apply dynapiedit
usingedit
crate (reasonably small for examples only)Plus a general examples cleanup:
configmap_watcher
(the least advanced one, and plenty of watcher examples already)NAMESPACE
evar use as a bad substitute forApi::default_namespaced
+kns
rationale for last one: much better to let people rely on their namespace switchers like
kns
rather than having us implementNAMESPACE
everywhere..