hey, we have flyte setup on gcp with service accou...
# flyte-support
e
hey, we have flyte setup on gcp with service account configured and bindings with default k8s serviceaccount in [dev / prpd / stag] is also done. but when we run a python task it gives an error of anonoymous doesn't have access to storage.objects.read . but we have bindings with gcp SA with default k8s SA, than why is it using anonymous ?
for using simple tensorflow function tf.io.Gfile. will we need tfjob integeration?
h
Does propeller's SA also have a KSA that has GSA bindings with the right permissions? Propeller also reads/writes to google storage (how it reads outputs and assembles inputs for the following tasks)
a
@echoing-river-3611 what permissions are part of the role you're binding the GSA to?
e
@average-finland-92144 storage admin permission
@high-park-82026 yes propeller SA also has the permission
basically we created single GSA with all the permissions and binded it with needful k8s SA
a
is the
default
SA on each namespace annotated with the corresponding GSA?
also @echoing-river-3611 you can find here a reference on how to handle IAM permissions on GCP for Flyte
e
is the
default
SA on each namespace annotated with the corresponding GSA?
yes
the problem only occurrs if we use tensorflow python code [like tf.io.GFile to read from gcs]
h
Hey @echoing-river-3611 did you manage to get this working? if not, happy to jump on a call