https://flyte.org logo
#ask-the-community
Title
# ask-the-community
h

Hank Fanchiu

09/30/2022, 5:59 PM
how might i enforce that every task execution always first runs some arbitrary setup script?
do the
pyflyte-execute
and
pyflyte-fast-execute
entrypoints support some plugin?
otherwise, would it be too deviating to replace the use of these
pyflyte
execution commands with our own entrypoints?
y

Yee

09/30/2022, 6:06 PM
hi
can you describe your goals here?
i know it’s auth related, but i’m still not clear on exactly how it fits into the system
h

Hank Fanchiu

10/03/2022, 6:23 PM
two use cases related to authz: 1. we want our flyte users to be able to use boto3 for accessing s3, but we need to globally patch boto3 to first fetch a signed s3 request from our internal s3-authorization service, before making the request to AWS s3. this signing needs to take place immediately before making the request to s3. 2. our users submit spark apps to our hadoop clusters. before doing that, we want to globally “exchange” the kube JWT for an internal cert, which is validated by our hadoop interface. in both cases, we cannot expect our users to import some python package in their workflow/task code. it’s also not secure.
25 Views