acoustic-carpenter-78188
07/02/2026, 9:51 PMinject-flyte-secrets label in all namespaces with failurePolicy: Fail, so it intercepts and rejects the other control plane's secret-requesting task pods. #7616 fixed the v2 side; this is the v1 side.
What changes were proposed in this pull request?
Two independent commits, mirroring #7616:
1. Add webhook.disableCreateMutatingWebhookConfig (same key as v2), skipping self-registration so operators can manage a scoped MutatingWebhookConfiguration out of band. Includes the regenerated pflags files.
2. Add optional webhook.namespaceSelector applied to the generated MutatingWebhookConfiguration. Nil keeps the current behavior of matching all namespaces.
How was this patch tested?
Extended Test_CreateMutationWebhookConfiguration with selector propagation and nil-default cases; go test ./pkg/webhook/... in flytepropeller.
Labels
• added: webhook.disableCreateMutatingWebhookConfig and webhook.namespaceSelector options to scope or disable the self-registered MutatingWebhookConfiguration
flyteorg/flyteacoustic-carpenter-78188
07/07/2026, 6:25 AM