acoustic-carpenter-78188
07/02/2026, 9:50 PMnamespaceSelector, matching inject-flyte-secrets: "true" in all namespaces with failurePolicy: Fail (flytepropeller/pkg/webhook/entrypoint.go, pod.go). No config option disables or scopes it, and manual edits are lost because the binary replaces .webhooks on every startup.
Impact
This blocks the recommended migration setup of running Flyte 1 and Flyte 2 in the same cluster. #7616 stops the v2 webhook from intercepting v1 pods; this issue is the reverse direction: the v1 webhook intercepts v2's secret-requesting task pods (same label), cannot resolve their secrets, and rejects them. Side-by-side operation is only safe once both sides can be scoped.
Proposed fix
Mirror #7616 on `master`: add a webhook.disableCreateMutatingWebhookConfig option (same key as v2) and support webhook.namespaceSelector on the generated configuration. PR follows.
flyteorg/flyteacoustic-carpenter-78188
07/10/2026, 12:33 AM