mirror of
https://github.com/kyverno/kyverno.git
synced 2025-04-09 10:42:22 +00:00
fixing labels
This commit is contained in:
parent
a2f3709985
commit
56c89eb320
1 changed files with 0 additions and 1 deletions
|
@ -398,7 +398,6 @@ func applyRule(log logr.Logger, client *dclient.Client, rule kyverno.Rule, resou
|
|||
logger.V(2).Info("generated target resource")
|
||||
|
||||
} else if mode == Update {
|
||||
label := newResource.GetLabels()
|
||||
if rule.Generation.Synchronize {
|
||||
label["policy.kyverno.io/synchronize"] = "enable"
|
||||
} else {
|
||||
|
|
Loading…
Add table
Reference in a new issue