Skip to content
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
merged 17 commits into from May 11, 2022

Conversation

clux
Copy link
Member

@clux clux commented May 4, 2022

Improves kubectl example - see this file)

Plus a general examples cleanup:

  • removed configmap_watcher (the least advanced one, and plenty of watcher examples already)
  • removed NAMESPACE evar use as a bad substitute for Api::default_namespaced + kns

rationale for last one: much better to let people rely on their namespace switchers like kns rather than having us implement NAMESPACE everywhere..

examples/kubectl.rs Outdated Show resolved Hide resolved
@clux clux marked this pull request as ready for review May 5, 2022 10:05
@clux clux added the changelog-exclude changelog excluded prs label May 5, 2022
@clux clux requested a review from nightkr May 5, 2022 10:06
@clux clux changed the title Extend kubectl example with an apply method Extend kubectl example with apply + edit subcommands May 5, 2022
examples/kubectl.rs Outdated Show resolved Hide resolved
@codecov-commenter

This comment was marked as off-topic.

clux added 8 commits May 6, 2022 20:32
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>
clux added 4 commits May 7, 2022 22:39
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 clux changed the title Extend kubectl example with apply + edit subcommands Extend kubectl example with apply + edit and example improvements May 7, 2022
clux added 2 commits May 7, 2022 23:11
Signed-off-by: clux <sszynrae@gmail.com>
Signed-off-by: clux <sszynrae@gmail.com>
@clux clux added this to the 0.72.0 milestone May 9, 2022
@clux clux requested a review from kazk May 10, 2022 21:45
examples/kubectl.rs Outdated Show resolved Hide resolved
clux added 2 commits May 11, 2022 09:34
Signed-off-by: clux <sszynrae@gmail.com>
Signed-off-by: clux <sszynrae@gmail.com>
@clux clux merged commit 2d4a37d into master May 11, 2022
@clux clux deleted the kubectl-apply2 branch May 11, 2022 08:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog-exclude changelog excluded prs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants