UNCLASSIFIED - NO CUI

disallow-namespaces has duplicate annotation that breaks when defined

Bug

Description

This annotation is fine on its own, but if kyvernoPolicies.values.autogenControllers is set, the helmrelease breaks due to this conditional adding an annotation that already exists.

Ideally just remove that hardcoded line and maybe set it as a default value for this cpol if it is really necessary?

BigBang Version

We are upgrading from 1.56 to 2.14, but this appears in later kyverno policies all through main branch.

Edited by jtaylor3