acoustic-carpenter-78188
04/22/2026, 12:23 AM_U_AUTH_TYPE environment variable in init_in_cluster(), allowing task pods to override the default PKCE auth type
• When set to "Passthrough", the SDK skips OAuth metadata fetching (AuthMetadataService.GetOAuth2Metadata()), which prevents cascading DEADLINE_EXCEEDED errors against endpoints that don't implement AuthMetadataService
• Intended for selfhosted / closed network environments where OAuth is not required and task pods connect directly to internal services (e.g. the queue service) bypassing ingress and authentication
Test plan
• Verify _U_AUTH_TYPE=Passthrough is picked up by init_in_cluster() and passed through to init.aio() as auth_type
• Verify task pods in selfhosted deployments no longer hit DEADLINE_EXCEEDED on EnqueueAction gRPC calls
• Verify default behavior (no env var set) is unchanged — PKCE auth is used as before
🤖 Generated with Claude Code
flyteorg/flyte-sdkacoustic-carpenter-78188
04/22/2026, 12:23 AM