[Enhancement] rename `$resource` to `$payload`
JimBugwadia opened this issue · comments
Jim Bugwadia commented
Problem Statement
The variable $resource
does not seem appropriate as the JSON input is usually not a resource.
Solution Description
Rename $resource
to $payload
:
https://github.com/kyverno/kyverno-json/blob/main/pkg/json-engine/engine.go#L40
Alternatives
No response
Additional Context
No response
Slack discussion
No response
Research
- I have searched other issues in this repository and mine is not recorded.