1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-31 03:45:17 +00:00

move mutate existing rule skipped log to v4 (#10560)

Signed-off-by: Husni Alhamdani <dhanielluis@gmail.com>
This commit is contained in:
Husni Alhamdani 2024-06-28 06:08:46 +02:00 committed by GitHub
parent 3df3515705
commit 52ec560ffb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -168,7 +168,7 @@ func (c *mutateExistingController) ProcessUR(ur *kyvernov2.UpdateRequest) error
case engineapi.RuleStatusSkip: case engineapi.RuleStatusSkip:
err := fmt.Errorf("mutate existing rule skipped, rule %s, response %v: %s", r.Name(), r.Status(), r.Message()) err := fmt.Errorf("mutate existing rule skipped, rule %s, response %v: %s", r.Name(), r.Status(), r.Message())
logger.Info(err.Error()) logger.V(4).Info(err.Error())
case engineapi.RuleStatusPass: case engineapi.RuleStatusPass:
patchedNew := patched patchedNew := patched