You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the solution you'd like
A long-standing request has been to facilitate uploading results after a run automatically.
I'd like a new field to be added to the config.Config object: uploadURL (name is flexible). After a run is completed, if that field is set, Sonobuoy should POST the tarball to that URL.
Anything else you would like to add:
I originally thought this approach was limited because I didn't want to get in the business of dealing with auth, but I was recently told about how even S3 buckets can be used since pre-signed URLs can be used and Sonobuoy doesn't have to be told anything about credentials.
In order to prevent pre-signed URLs from being required for the entire duration of a run (which may be hours depending on the cluster size and plugin selection), the aggregate server can continue to refresh/watch the config file. That config file comes from a configmap whose changes will get propagated to the server. Users who are concerned about security can limit the amount of time those URLs are in the wild this way.
TBD: if not told to block after the run, I assume we dont sit/refresh the config checking for that URL. If we are told to block, I figure we periodically refresh and check for that url and post to it if set. The user, in that case, would still be responsible for cleaning up up sonobuoy manually after that? Or would they be able to also modify whether or not sonobuoy should block?
More than one URL could/should be settable. No extra effort to support that.
This is a special case of Allow for user ordered operations in aggregator #39 but is, by far, the one that keeps coming up. I feel like this is a feature that users will definitely benefit from, implementing it this way is simple/intuitive, and that we shouldn't wait until we want to prioritize a larger, more general solution to run arbitrary containers after the run.
The point is definitely arguable and I'm curious if anyone strongly disagrees. @stevesloka@zubron ?
The text was updated successfully, but these errors were encountered:
Describe the solution you'd like
A long-standing request has been to facilitate uploading results after a run automatically.
I'd like a new field to be added to the
config.Config
object:uploadURL
(name is flexible). After a run is completed, if that field is set, Sonobuoy shouldPOST
the tarball to that URL.Anything else you would like to add:
The point is definitely arguable and I'm curious if anyone strongly disagrees. @stevesloka @zubron ?
The text was updated successfully, but these errors were encountered: