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.
Print generate output cli (kyverno#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 <[email protected]> * chore: Update flag description to specify mutated and generated resources Signed-off-by: aerosouund <[email protected]> * chore: Run codegen Signed-off-by: aerosouund <[email protected]> --------- Signed-off-by: aerosouund <[email protected]>
- Loading branch information
1 parent
88306bb
commit d100202
Showing
3 changed files
with
51 additions
and
30 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
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