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

Added the chainsaw tests for kyverno 1.10 release #116

Merged
merged 8 commits into from
Feb 22, 2024

Conversation

nsathyaseelan
Copy link
Contributor

  • The Chainsaw test has been incorporated for the default curated policies of Nirmata Kyverno, and the existing KUTTL test suite has been eliminated.

  • These Chainsaw tests are designed to execute with n4k 1.10 Nirmata Kyverno instances across all supported Kubernetes versions.

  • Each Chainsaw test is responsible for validating the following policy aspects:
    - Creating the policy and verifying its status
    - Creating the remediate/mutate policy and checking its status (if applicable)
    - Generating a resource in the presence of the mutate policy
    - Verifying that the report does not contain any error or fail summaries
    - Removing the remediate policy
    - Transitioning the policy from Audit to Enforce mode
    - Creating a resource that adheres to the policy rule and confirming its successful creation
    - Attempting to create a resource that violates the policy and confirming that the resource creation is blocked.

Signed-off-by: nsathyaseelan <[email protected]>
Signed-off-by: nsathyaseelan <[email protected]>
@pns-nirmata pns-nirmata merged commit 88d2bd6 into release-chart-1.10 Feb 22, 2024
8 checks passed
@pns-nirmata pns-nirmata deleted the chainsaw-test-1-10 branch February 22, 2024 05:27
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.

3 participants