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

feat: Add CSV output #433

Merged
merged 2 commits into from
Jan 17, 2023
Merged

feat: Add CSV output #433

merged 2 commits into from
Jan 17, 2023

Conversation

ryanrolds
Copy link
Contributor

@ryanrolds ryanrolds commented Jan 11, 2023

% bin/kubent -o csv
12:12PM INF >>> Kube No Trouble `kubent` <<<
12:12PM INF version dev (git sha dev)
12:12PM INF Initializing collectors and retrieving data
12:12PM INF Target K8s version is 1.21.14
12:12PM INF Retrieved 1005 resources from collector name=Cluster
12:13PM INF Retrieved 144 resources from collector name="Helm v3"
12:13PM INF Loaded ruleset name=custom.rego.tmpl
12:13PM INF Loaded ruleset name=deprecated-1-16.rego
12:13PM INF Loaded ruleset name=deprecated-1-22.rego
12:13PM INF Loaded ruleset name=deprecated-1-25.rego
12:13PM INF Loaded ruleset name=deprecated-1-26.rego
12:13PM INF Loaded ruleset name=deprecated-future.rego
api_version,kind,namespace,name,replace_with,since,rule_set
extensions/v1beta1,Deployment,kube-system,name1,apps/v1,1.9.0,Deprecated APIs removed in 1.16
extensions/v1beta1,Deployment,kube-system,name2,apps/v1,1.9.0,Deprecated APIs removed in 1.16
extensions/v1beta1,Ingress,namespace1,name3,networking.k8s.io/v1,1.19.0,Deprecated APIs removed in 1.22
apiextensions.k8s.io/v1beta1,CustomResourceDefinition,,name4,apiextensions.k8s.io/v1,1.16.0,Deprecated APIs removed in 1.22
...

Replaced namespaces and names to protect the innocent.

@ryanrolds ryanrolds marked this pull request as draft January 11, 2023 19:58
@ryanrolds ryanrolds marked this pull request as ready for review January 11, 2023 20:15
@stepanstipl stepanstipl self-assigned this Jan 13, 2023
@stepanstipl stepanstipl added the feature New feature or request label Jan 13, 2023
Copy link
Contributor

@stepanstipl stepanstipl left a comment

Choose a reason for hiding this comment

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

This looks great @ryanrolds 👏 thanks a lot for contributing! 👍 🎉

@stepanstipl
Copy link
Contributor

Oh, one small thing blocking merging, I noticed only now - we require all commits to be signed by the author 1, could you please?

Footnotes

  1. https://docs.github.com/en/authentication/managing-commit-signature-verification/about-commit-signature-verification

@ryanrolds
Copy link
Contributor Author

Done.

@stepanstipl stepanstipl merged commit 6e2d1b4 into doitintl:master Jan 17, 2023
@stepanstipl
Copy link
Contributor

Perfect, thanks again 👍.

@ryanrolds ryanrolds deleted the csv_output branch January 17, 2023 15:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants