forked from kyverno/kyverno
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Unit tests for Pod Security Admission Integrations (kyverno#8585)
* feat: enable field-restricted exclusions using the psa Signed-off-by: Liang Deng <[email protected]> * fix ci error Signed-off-by: Liang Deng <[email protected]> * fix ci error Signed-off-by: Liang Deng <[email protected]> * initial unit tests * Add all remaining unit tests Signed-off-by: Gurmannat Sohal <[email protected]> * fine grain unit tests by adding fields and values * add detailed pod level exclusion and related tests * add tests for init & ephemeral containers * add kuttl tests for the new advanced support * add kuttl tests for the new advanced support * add readme for kuttl tests * add replacement in go.mod * resolving CI errors Signed-off-by: Gurmannat Sohal <[email protected]> * fix ci errors Signed-off-by: Gurmannat Sohal <[email protected]> * fix ci errors Signed-off-by: Gurmannat Sohal <[email protected]> * updating pod-security-admissio Signed-off-by: Gurmannat Sohal <[email protected]> * resolving null pointer panic Signed-off-by: Gurmannat Sohal <[email protected]> * resolved conformance error Signed-off-by: Gurmannat Sohal <[email protected]> * chainsaw Signed-off-by: Charles-Edouard Brétéché <[email protected]> * chainsaw Signed-off-by: Gurmannat Sohal <[email protected]> * remove duplication Signed-off-by: Gurmannat Sohal <[email protected]> * fix linting Signed-off-by: Gurmannat Sohal <[email protected]> * remove over computation Signed-off-by: Gurmannat Sohal <[email protected]> * added field checks, pss skip condition Signed-off-by: Gurmannat Sohal <[email protected]> * correcting chainsaw tests Signed-off-by: Gurmannat Sohal <[email protected]> * merge branch 'main' into unit-tests Signed-off-by: Gurmannat Sohal <[email protected]> * fix builds Signed-off-by: ShutingZhao <[email protected]> --------- Signed-off-by: Liang Deng <[email protected]> Signed-off-by: Gurmannat Sohal <[email protected]> Signed-off-by: shuting <[email protected]> Signed-off-by: Gurmannat Sohal <[email protected]> Signed-off-by: Charles-Edouard Brétéché <[email protected]> Signed-off-by: ShutingZhao <[email protected]> Co-authored-by: Liang Deng <[email protected]> Co-authored-by: shuting <[email protected]> Co-authored-by: Charles-Edouard Brétéché <[email protected]>
- Loading branch information
1 parent
4fff841
commit 6902a2b
Showing
239 changed files
with
12,291 additions
and
1,106 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,3 +19,4 @@ cmd/background-controller/background-controller | |
.dist | ||
.manifest | ||
kyverno.tar.gz | ||
vendor/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.