mirror of
https://github.com/kyverno/kyverno.git
synced 2024-12-15 17:51:20 +00:00
8f418a90fc
* 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> |
||
---|---|---|
.. | ||
cleanuppolicy | ||
exception | ||
globalcontext | ||
policy | ||
resource |