In the Working with arrays section len is used instead of the length function both in the description and in the example.
Following this blog post, users will get an error: Internal error: unknown function: len .
Expected behavior
Use length instead len both in the description and in the example.
Page link
https://kyverno.io/blog/2023/12/13/kyverno-chainsaw-exploring-the-power-of-assertion-trees/
Description
In the Working with arrays section
len
is used instead of thelength
function both in the description and in the example. Following this blog post, users will get an error:Internal error: unknown function: len
.Expected behavior
Use
length
insteadlen
both in the description and in the example.Slack discussion
https://kubernetes.slack.com/archives/C067LUFL43U/p1721647322310929?thread_ts=1721296277.816009&cid=C067LUFL43U