:wave: Quick question about reference launch plans...
# flyte-support
g
👋 Quick question about reference launch plans: • I noticed that when launching them, Flyte Propeller actually hits Admin's
CreateExecution
endpoint • But we actually intercept this request in a proxy service to inject user identity info, and we can't identify the user accurately when the call comes from a service like Propeller • However, the request from Propeller already has the identity fields filled out correctly - I was wondering if it copies the
ExecutionCreateRequest
of the original execution, particularly fields like labels, security context, tags to launch the reference LP? â—¦ Any code pointers to where this is done would be very helpful! I think it ends up here where it copies the request from the launch context but I wasn't able to trace this back to the place where it calls this for a reference launch plan
For more context, I'm basically making a change to not update the identity info from execution create requests from flyte propeller, but just wanted to ensure that all such requests will have some identity attached i.e. have an existing launch context
a
@gentle-night-59824 yes, when a reference launchplan is executed, flytepropeller makes a call to the
CreateExecution
endpoint. The
ExecutionCreateRequest
is constructed using information from the Launch Context which includes fields like security contexts, labels and annotations.