Two of our three Kyverno pods keep getting stuck in crash loops.
State details in ArgoCD are:
back-off 5m0s restarting failed container=kyverno pod=kyverno-85b8ccfffd-7vb4t_kyverno(cf50fb6d-a1c2-4384-bdbf-bebe865daa73)
All I can find in the logs is:
panic: interface conversion: interface {} is nil, not string [recovered]
panic: interface conversion: interface {} is nil, not string
goroutine 2254 [running]:
k8s.io/apimachinery/pkg/util/runtime.HandleCrash({0x0, 0x0, 0xc004736140?})
k8s.io/apimachinery@v0.26.0/pkg/util/runtime/runtime.go:56 +0xd7
panic({0x2f552e0, 0xc00158ee40})
runtime/panic.go:884 +0x212
which does not clarify a whole lot. How do I resolve this?