1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-09 17:37:12 +00:00
kyverno/cmd/cli/kubectl-kyverno/commands/apply
Ammar Yasser d100202d22
Print generate output cli (#11634)
* refactor: Configure the policy processor to print generated resources

Refactor printMutatedOutput to printOutput which prints mutate or generate resources to a file or standard output
Introduce processGenerateResponse which extracts generated resources from the policy response and passes them to printOutput

Signed-off-by: aerosouund <aerosound161@gmail.com>

* chore: Update flag description to specify mutated and generated resources

Signed-off-by: aerosouund <aerosound161@gmail.com>

* chore: Run codegen

Signed-off-by: aerosouund <aerosound161@gmail.com>

---------

Signed-off-by: aerosouund <aerosound161@gmail.com>
2024-11-27 08:33:05 +00:00
..
.gitignore refactor: move all cli commands in a commands package (#8231) 2023-09-04 15:15:55 +00:00
command.go Print generate output cli (#11634) 2024-11-27 08:33:05 +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
print.go Generate Policy Exceptions (#9987) 2024-09-09 20:42:16 +00:00
table.go fix: cli output improvements (#8398) 2023-09-14 11:45:18 +00:00