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

Add another set of convenient commands to readme #10

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ivanfilippov
Copy link

Add a couple of commands to make adding custom resources easier.

@Paxa
Copy link
Owner

Paxa commented Sep 24, 2019

Should we make option to backup all crd's?

@ivanfilippov
Copy link
Author

ivanfilippov commented Sep 25, 2019

I think that's a good idea. I see it as being a new env var config, example below:
ALL_GLOBAL_RESOURCES = true|false
ALL_RESOURCES = true|false

I think it's still important to allow the use of the SKIP_* configs with the ALL_* configs to allow users to exclude certain resources.

I have not touched Ruby before, let me know if this is something you'll work on. If not, I can leave this PR open (or convert it into an issue) and look into picking up Ruby.

@Paxa
Copy link
Owner

Paxa commented Dec 17, 2019

That would be nice, can implement via

kubectl api-resources --verbs=list --namespaced=false -o name # global list
kubectl api-resources --verbs=list --namespaced=true -o name # namespaced

Will try to make it later

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants