Skip to content

Commit

Permalink
Rename origin to target
Browse files Browse the repository at this point in the history
Signed-off-by: shubham4443 <shubham4443@gmail.com>
  • Loading branch information
shubham4443 committed Jun 1, 2022
1 parent 89685ca commit 691f028
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion proposals/extend_cli_for_generate_policies.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Prior to this proposal, only validate and mutate policies were covered by the ky

## Proposal

When using a generate rule, the origin resource can be either an existing resource defined within Kubernetes, or a new resource defined in the rule itself. When the origin resource is a pre-existing resource the clone object is used. When the origin resource is a new resource defined within the manifest of the rule, the data object is used. Both rules are mutually exclusive, and only one will be specified in a rule. Both objects require a different approach for testing through CLI command.
When using a generate rule, the target resource can be either an existing resource defined within Kubernetes, or a new resource defined in the rule itself. When the target resource is a pre-existing resource the clone object is used. When the target resource is a new resource defined within the manifest of the rule, the data object is used. Both rules are mutually exclusive, and only one will be specified in a rule. Both objects require a different approach for testing through CLI command.

### API Design Changes

Expand Down

0 comments on commit 691f028

Please sign in to comment.