Should we use Cloud Run's built in GCS volume mount feature on the pcap sidecar container instead of GCSFuse directly?
The advantage it provides is when developers look at the sidecar container in the console they'll see the Volume mount configured and it will just make the sidecar make a bit more sense for folks that don't read the README carefully. I also suspect it will check GCS IAM permissions for us and have better error messages in that regard.
For non Cloud Run environments we'll still have to use GCSFuse directly and built out a function to detect the execution env. Alternatively, guard this option with yet another flag.
Should we use Cloud Run's built in GCS volume mount feature on the pcap sidecar container instead of GCSFuse directly?
The advantage it provides is when developers look at the sidecar container in the console they'll see the Volume mount configured and it will just make the sidecar make a bit more sense for folks that don't read the README carefully. I also suspect it will check GCS IAM permissions for us and have better error messages in that regard.
For non Cloud Run environments we'll still have to use GCSFuse directly and built out a function to detect the execution env. Alternatively, guard this option with yet another flag.