setup "msg"="failed to setup registry client" "error"="failed to initialize registry keychain: secrets \"private-registry\" not found
While trying to deploy Bigbang, kyverno-kyverno-5cb66f64c8-jtp2f - deployment showing CrashLoopBackOff. Run the log shows the following:
kubectl logs -f kyverno-kyverno-5cb66f64c8-jtp2f -n kyverno I0613 16:06:51.855890 1 main.go:145] setup/maxprocs "msg"="maxprocs: Updating GOMAXPROCS=1: using minimum allowed GOMAXPROCS" I0613 16:06:51.855990 1 version.go:17] setup/version "msg"="version" "hash"="(HEAD/c19061758dc4203106ab6d87a245045c20192721" "time"="2022-12-20_08:45:06AM" "version"="v1.8.5" I0613 16:06:51.856007 1 main.go:155] setup/profiling "msg"="start profiling..." "port"="6060" "profile"=false I0613 16:06:51.856029 1 main.go:176] setup/kube-clients "msg"="create kube clients..." "burst"=50 "kubeconfig"="" "qps"=25 I0613 16:06:51.856718 1 main.go:213] setup/metrics "msg"="setup metrics..." "collector"="opentelemetrycollector.kyverno.svc.cluster.local" "creds"="" "otel"="prometheus" "port"="8000" I0613 16:06:51.861590 1 main.go:259] setup/tracing "msg"="setup tracing..." "creds"="" "enabled"=false "port"="opentelemetrycollector.kyverno.svc.cluster.local" I0613 16:06:51.861614 1 main.go:277] setup/registry-client "msg"="setup registry client..." "insecure"=false "secrets"="private-registry" E0613 16:06:51.863051 1 main.go:589] setup "msg"="failed to setup registry client" "error"="failed to initialize registry keychain: secrets "private-registry" not found"
How to fix the error?