# A GeneratingPolicy that clones a Secret into new namespaces fails with a forbidden error. Which label on a ClusterRole merges its rules into the Kyverno background controller's permissions?

Kyverno, Medium (Advanced), Security. https://k8wiz.com/uquiz/a-generatingpolicy-that-clones-a-secret-into-new-namespaces-fails-with-a-forbidden-error-which-label-on-a-clusterrole-merges-its

- A. rbac.kyverno.io/aggregate-to-admission-controller: "true"
- B. rbac.authorization.k8s.io/aggregate-to-background-controller: "true"
- C. kyverno.io/aggregate-to-background-controller: "true"
- D. rbac.kyverno.io/aggregate-to-background-controller: "true"

**Answer:** rbac.kyverno.io/aggregate-to-background-controller: "true"

**Explanation:** The background controller creates generated resources, and its ClusterRole has an aggregation rule that selects ClusterRoles labeled rbac.kyverno.io/aggregate-to-background-controller: "true". The default Helm install lets it write NetworkPolicies, ConfigMaps, quotas, LimitRanges, Roles and RoleBindings, but not Secrets in other namespaces, so cloning Secrets needs this extra ClusterRole.
