kyverno / KDP

Kyverno Design Proposals
Apache License 2.0
16 stars 25 forks source link

Proposal for extending forEach to cover generate rules #52

Open MariamFahmy98 opened 10 months ago

realshuting commented 10 months ago

We need clarification on how synchronize behavior applies to the foreach generate rule.

realshuting commented 1 month ago

This KDP enables the generation of multiple targets for a list of values.

Another related request is to generate multiple resources from a single trigger, see https://github.com/kyverno/kyverno/issues/4352.

thesuperzapper commented 1 month ago

I still don't think this proposal solves the issues raised in https://github.com/kyverno/kyverno/issues/10715

For clone rules, it's important that we can trigger off the source object, while still targeting multiple namespaces (preferably not just by listing them multiple times, but by selecting a namespace label or similar).