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
The current shell script implementation for the Kubernetes CronJob works for simple scripting purposes, but does not scale well for more complex logic (such as custom retention and maybe other features in the future).
Reasons for Python implementation:
We don't have to write to a file (we can read the file stream and store the object directly from memory to s3)
We can get rid of S3_URI input parameter
The text was updated successfully, but these errors were encountered:
Good first issue if you would like to to do some Python programming. The draft is already testable. Would be good if we keep the VAULT_TOKEN authentication as a fallback (for testing purposes) when no Kubernetes auth credentials are provided as an input.
Wrote some pytests and will probably throw the code against my lab later this week.
The interpretation of S3_EXPIRE_DAYS changed slightly. I think the Python code can't handle an empty variable that well and you should just remove it from the CronJob when not used (no expiration).
The current shell script implementation for the Kubernetes CronJob works for simple scripting purposes, but does not scale well for more complex logic (such as custom retention and maybe other features in the future).
Reasons for Python implementation:
S3_URI
input parameterThe text was updated successfully, but these errors were encountered: