diff --git a/main.go b/main.go index a4855a35da..10ab04c995 100644 --- a/main.go +++ b/main.go @@ -184,7 +184,7 @@ func init() { //TODO: this has been added to backward support command line arguments // will be removed in future and the configuration will be set only via configmaps flag.StringVar(&filterK8Resources, "filterK8Resources", "", "k8 resource in format [kind,namespace,name] where policy is not evaluated by the admission webhook. example --filterKind \"[Deployment, kyverno, kyverno]\" --filterKind \"[Deployment, kyverno, kyverno],[Events, *, *]\"") - flag.IntVar(&webhookTimeout, "webhooktimeout", 2, "timeout for webhook configurations") + flag.IntVar(&webhookTimeout, "webhooktimeout", 3, "timeout for webhook configurations") flag.StringVar(&kubeconfig, "kubeconfig", "", "Path to a kubeconfig. Only required if out-of-cluster.") flag.StringVar(&serverIP, "serverIP", "", "IP address where Kyverno controller runs. Only required if out-of-cluster.") config.LogDefaultFlags()