I'm having trouble with upload when running via Ku...
# ask-community
c
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
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