mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-10 01:46:55 +00:00
* fix variable substitution error handling in policy validation and add tests Signed-off-by: Ambati Sahithi <162500856+asr2003@users.noreply.github.com> * cleanup Signed-off-by: Ambati Sahithi <162500856+asr2003@users.noreply.github.com> * fix variable substitution error handling in policy validation and add tests Signed-off-by: Ambati Sahithi <162500856+asr2003@users.noreply.github.com> * cleanup Signed-off-by: Ambati Sahithi <162500856+asr2003@users.noreply.github.com> * add review comment Co-authored-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com> Signed-off-by: asr2003 <162500856+asr2003@users.noreply.github.com> * Update pkg/validation/policy/validate.go The rule and policy will be appended to the top level message, so no need to repeat here. Signed-off-by: Jim Bugwadia <jim@nirmata.com> * fmt Signed-off-by: Ambati Sahithi <162500856+asr2003@users.noreply.github.com> * Update pkg/validation/policy/validate.go update for unit tests Signed-off-by: Jim Bugwadia <jim@nirmata.com> --------- Signed-off-by: Ambati Sahithi <162500856+asr2003@users.noreply.github.com> Signed-off-by: asr2003 <162500856+asr2003@users.noreply.github.com> Signed-off-by: Jim Bugwadia <jim@nirmata.com> Co-authored-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com> Co-authored-by: Jim Bugwadia <jim@nirmata.com> |
||
---|---|---|
.. | ||
actions.go | ||
allowed_vars_test.go | ||
background.go | ||
background_test.go | ||
fuzz_test.go | ||
generate.go | ||
on_update_policy_test.go | ||
validate.go | ||
validate_test.go |