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

File collector #15

Merged
merged 7 commits into from
Aug 4, 2020
Merged

File collector #15

merged 7 commits into from
Aug 4, 2020

Conversation

stepanstipl
Copy link
Contributor

@stepanstipl stepanstipl commented Jul 29, 2020

This PR adds support for local file collector #6 via the -f flag. Supports JSON and YAML manifests, flag can be repeated multiple times:

$./kubent -f manifest-1.yaml -f manifest-2.json

Support for reading from stdin will be in a separate PR.

Should be merged after #14 .

@stepanstipl stepanstipl requested a review from a user July 29, 2020 16:52
@stepanstipl stepanstipl self-assigned this Jul 29, 2020
@ghost
Copy link

ghost commented Jul 30, 2020

I like this, adding a file provider is good.

@ghost
Copy link

ghost commented Jul 30, 2020

LGTM, I would say about the tests should be added

@ghost
Copy link

ghost commented Jul 30, 2020

make sure you rebase!

@ghost ghost force-pushed the feat-file-collector branch 2 times, most recently from 39213ad to 3b6664a Compare July 30, 2020 12:50
@stepanstipl
Copy link
Contributor Author

@david-doit-intl added tests, pls. have a look 👍

@@ -0,0 +1,2 @@
🐈
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

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

1 participant