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 Kyverno CLI to handle generate policies & improve test coverage #2249

Closed
realshuting opened this issue Aug 10, 2021 · 5 comments
Closed
Assignees
Labels
enhancement New feature or request generation Issues pertaining to the generate ability. LFX mentorship project type:cli cli releated issue

Comments

@realshuting
Copy link
Member

realshuting commented Aug 10, 2021

Extend the Kyverno CLI to cover generate policies (currently only validate and mutate policies are covered via the kyverno test command) and improve tests coverage for Kyverno. Based on the test results, we need to add more unit/E2E tests.

It would be nice if we can have the test report generated for each PR, i.e., kyverno/policy-reporter#53 (comment).

@realshuting realshuting added enhancement New feature or request LFX mentorship project type:cli cli releated issue labels Aug 10, 2021
@siddharthlal25
Copy link
Contributor

Hi @realshuting! I would like to contribute to this!😃
Any pointers that I should take into consideration while drafting the proposal?

@realshuting
Copy link
Member Author

Hey @siddharthlal25 - thanks for reaching out! We have submitted this as the LFX mentorship program, and the application starts on August 13th.

I've updated the issue description, sorry for the inconvenience.

@JimBugwadia
Copy link
Member

For LXF mentorship candidates interested in this project, here are a few ways to get started and learn more:

  1. Install Kyverno in a cluster and learn about the different policy rule types (https://kyverno.io/docs) like validate, mutate, and generate.
  2. Install the Kyverno CLI and get familiar with the test command.
  3. Try to contribute a new test case in the Kyverno policy samples library.

The project will involve extending the test command for generate policy rules, adding more test cases for the samples, and automating execution of tests.

@siddharthlal25
Copy link
Contributor

Sure! Will get started with these!

@chipzoller chipzoller added the generation Issues pertaining to the generate ability. label Jan 19, 2022
@prateekpandey14
Copy link
Contributor

Will open a new issue to track this further. Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request generation Issues pertaining to the generate ability. LFX mentorship project type:cli cli releated issue
Projects
None yet
Development

No branches or pull requests

5 participants