Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Issue with ofek/csi-gcs

I have implemented the interface github.com/ofek/csi-gcs to map a GCS bucket into a persistent volume of my cluster but I am experiencing a behaviour different than expected: if I save a file from the pod into the mounted directory where the bucket has been mapped into, the file is indeed saved into the bucket itself, which is what I expect.

However, in the mounted dir I can only see the files.dir that have been created by the cluster itself. I cannot list and access other directory and files that are in the bucket. I tried to add bucket admin permission to the service account but it did not solve it.

Any idea of what is happening?

For the reproducibility: I just followed the steps here csi-gcs static provisioning. The SA I created has cloudkms.cryptoKeyEncrypterDecrypter role as suggested in the instructions

 

 

 

0 0 148
0 REPLIES 0
Top Labels in this Space