I started hacking on a PR to add the metadata principal to the the agent proto -
https://github.com/flyteorg/flyte/pull/5481
Like the recent console_url PR at
https://github.com/flyteorg/flyte/pull/5449 from
@high-accountant-32689, I think this is going to require an addition to the CR so that flytepropeller can pick up that value. I might have missed an alternative mechanism when scanning the code though, so if anyone knows that area better, please chime in. Thanks!