Updated code due to changes in structure
@@ -12,11 +12,12 @@ import (
"os"
"time"
- kubeClient "github.com/nirmata/kube-policy/kubeclient"
- policylister "github.com/nirmata/kube-policy/pkg/client/listers/policy/v1alpha1"
- "github.com/nirmata/kube-policy/pkg/config"
- engine "github.com/nirmata/kube-policy/pkg/engine"
- tlsutils "github.com/nirmata/kube-policy/pkg/tls"
+ "github.com/nirmata/kyverno/client"
+ "github.com/nirmata/kyverno/pkg/client/listers/policy/v1alpha1"
+ "github.com/nirmata/kyverno/pkg/config"
+ engine "github.com/nirmata/kyverno/pkg/engine"
+ "github.com/nirmata/kyverno/pkg/sharedinformer"
+ tlsutils "github.com/nirmata/kyverno/pkg/tls"
v1beta1 "k8s.io/api/admission/v1beta1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/labels"
