kestra-io / plugin-gcp

Apache License 2.0
6 stars 10 forks source link

io.kestra.plugin.gcp.gcs.Upload allow setting object content-type #331

Closed brokenjacobs closed 6 months ago

brokenjacobs commented 6 months ago

Feature description

I have a use case where I want to put images into a bucket and have them viewable (not downloaded) through a browser. This requires setting an appropriate content-type on the placed object. I can do this with the gcloud sdk in a container, but it would be nice to use io.kestra.plugin.gcp.gcs.Upload to do the upload with the content-type.

brokenjacobs commented 6 months ago

updated to use the correct task