1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-10 01:46:55 +00:00
kyverno/cmd/cli/kubectl-kyverno/commands/apply
gcp-cherry-pick-bot[bot] 98f1a43492
bug: print failure message when rule fails in kyverno apply (#9166) (#11051)
* bug: print failure message when rule fails in kyverno apply



* print the policy and failing resource just once



* remove unused argument resPath in addGenerateResponse method



* remove print statement for error rule status



* add missing print statements for mutation in kyverno cli



* remove unused import



* remove violation print statements for validations



* print failed validations



* TODO



* move printing logic of mutate rules to command.go



---------

Signed-off-by: Chandan-DK <chandandk468@gmail.com>
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
Co-authored-by: Chandan-DK <chandandk468@gmail.com>
Co-authored-by: Mariam Fahmy <mariam.fahmy@nirmata.com>
Co-authored-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-09-09 15:51:18 +00:00
..
.gitignore refactor: move all cli commands in a commands package (#8231) 2023-09-04 15:15:55 +00:00
command.go bug: print failure message when rule fails in kyverno apply (#9166) (#11051) 2024-09-09 15:51:18 +00:00
command_test.go fix: remove unused parameters (#10327) 2024-05-29 13:40:41 +00:00
doc.go docs: improve cli commands docs (#8259) 2023-09-05 05:14:28 +03:00
log.go refactor: cli proper error handling (#8360) 2023-09-12 16:07:06 +00:00
table.go fix: cli output improvements (#8398) 2023-09-14 11:45:18 +00:00