mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-31 03:45:17 +00:00
added namespace label in context (#1644)
Signed-off-by: NoSkillGirl <singhpooja240393@gmail.com>
This commit is contained in:
parent
0d1f0b5897
commit
070f13783f
1 changed files with 1 additions and 0 deletions
|
@ -62,6 +62,7 @@ func applyPolicy(policy kyverno.ClusterPolicy, resource unstructured.Unstructure
|
|||
ResourceCache: resCache,
|
||||
JSONContext: ctx,
|
||||
Client: client,
|
||||
NamespaceLabels: namespaceLabels,
|
||||
}
|
||||
|
||||
engineResponseValidation = engine.Validate(policyCtx)
|
||||
|
|
Loading…
Add table
Reference in a new issue