You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
kyverno version
Version: 1.3.1
Time: 2021-01-19T20:11:29Z
Git commit ID: aca98d3748f2a710a8fab2451d6bbf5e67664ed7
Kubernetes version:
1.20
Kyverno version:
kyverno CLI:
kyverno version
Version: 1.3.1
Time: 2021-01-19T20:11:29Z
Git commit ID: aca98d3748f2a710a8fab2451d6bbf5e67664ed7
kyverno K8s install:
helm list -n kyverno
NAME NAMESPACE REVISION UPDATED STATUS CHART APP VERSION
kyverno kyverno 1 2021-01-28 15:29:02.7925561 +0000 UTC deployed kyverno-v1.3.1 v1.3.1
Software version numbers
1.20
kyverno CLI:
kyverno K8s install:
Describe the bug
The example used is from the documentation at : https://kyverno.io/docs/kyverno-cli/#apply
The same behaviour appears to occur for other examples also.
The following panic error is output when running an apply when passing a variable either as a direct assignment or via a values file:
and using a values file ...
The policy file reports as valid:
An apply WITHOUT the variable assignment does not crash (just skips):
To Reproduce
Attempt to run the example at: https://kyverno.io/docs/kyverno-cli/#apply
Expected behavior
Successful policy evaluation.
Screenshots
See CLI outputs above.
Additional context
I downloaded the CLI binary release: https://github.com/kyverno/kyverno/releases/download/v1.3.1/kyverno-cli_v1.3.1_linux_x86_64.tar.gz and extracted to /usr/local/bin
I also built the binary from source per the instructions (this created: v1.3.2-rc1-8-gac3a42d4). The behaviour was the same as v1.3.1
The text was updated successfully, but these errors were encountered: