https://prefect.io logo
Title
c

Cab Maddux

02/20/2020, 1:16 PM
I'm having trouble with upload when running via Kubernetes agent.executor and using the cloud secret, but using the same credentials via GOOGLE_APPLICATION_CREDENTIALS env variable when running locally works fine
j

josh

02/20/2020, 2:35 PM
After inspecting it appears as though the credentials are being passed through as expected https://github.com/PrefectHQ/prefect/blob/master/src/prefect/utilities/gcp.py#L23 🤔 Here’s something we could try, take that value you get from
my_secret
and pass it into a
GCSUpload
task locally then call that task’s
.run()
to see if it works fine there