mysterious-room-21161
01/09/2025, 3:23 PMimportant-london-94970
01/09/2025, 3:55 PMMETAFLOW_KUBERNETES_SECRETS
looks good to me.
That value only loads secrets into steps that run with @kubernetes
or --with kubernetes
. If the code you are running is not running as a kubernetes job, you will need to load the AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY values as environment variables into your development environment.important-london-94970
01/09/2025, 3:56 PMpython my_flow.py run --with kubernetes
to succeed, and I would expect python my_flow.py run
to fail. But, by setting AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY in my jupyter notebook environment, python my_flow.py run
should succeed.mysterious-room-21161
01/09/2025, 4:08 PMimportant-london-94970
01/09/2025, 4:09 PMmysterious-room-21161
01/09/2025, 4:10 PMimportant-london-94970
01/09/2025, 4:12 PMMETAFLOW_KUBERNETES_SERVICE_ACCOUNT
is what gets injected into the Job's serviceAccountName
but this is reaching the end of my metaflow knowledge. We need someone from @gentle-musician-94515 to helpmysterious-room-21161
01/09/2025, 4:55 PM