mirror of
https://github.com/kyverno/kyverno.git
synced 2024-12-14 11:57:48 +00:00
d61f87e0f9
* refactor: Treat all of the target spec as a single object while replacing variables Serialize it into a map string interface then back to a target seletor before returning Signed-off-by: aerosouund <aerosound161@gmail.com> * test: Add scenario for variables in the label selector test Signed-off-by: aerosouund <aerosound161@gmail.com> * Fix: Capitalize error message Co-authored-by: shuting <shuting@nirmata.com> Signed-off-by: Ammar Yasser <aerosound161@gmail.com> * Fix: Adjust error message specification to mention target rather than selector Co-authored-by: shuting <shuting@nirmata.com> Signed-off-by: Ammar Yasser <aerosound161@gmail.com> * fix: Pass the target selector only during variable replacement Signed-off-by: aerosouund <aerosound161@gmail.com> --------- Signed-off-by: aerosouund <aerosound161@gmail.com> Signed-off-by: Ammar Yasser <aerosound161@gmail.com> Co-authored-by: shuting <shuting@nirmata.com> |
||
---|---|---|
.. | ||
common.go | ||
load_targets.go | ||
load_targets_test.go | ||
mutate_existing.go | ||
mutate_image.go | ||
mutate_resource.go |