mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-06 16:06:56 +00:00
Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com> Co-authored-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
This commit is contained in:
parent
78e7c5dc18
commit
07e1afaa61
1 changed files with 0 additions and 2 deletions
|
@ -18,7 +18,6 @@ import (
|
|||
"github.com/kyverno/kyverno/pkg/config"
|
||||
dclient "github.com/kyverno/kyverno/pkg/dclient"
|
||||
"github.com/kyverno/kyverno/pkg/event"
|
||||
admissionv1 "k8s.io/api/admission/v1"
|
||||
apierrors "k8s.io/apimachinery/pkg/api/errors"
|
||||
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
"k8s.io/apimachinery/pkg/util/runtime"
|
||||
|
@ -239,7 +238,6 @@ func (c *controller) updatePolicy(old, cur interface{}) {
|
|||
|
||||
// re-evaluate the UR as the policy was updated
|
||||
for _, ur := range urs {
|
||||
ur.Spec.Context.AdmissionRequestInfo.Operation = admissionv1.Update
|
||||
c.enqueueUpdateRequest(ur)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue