Description
We currently set a 60d retention on staging storage and staging gcb storage, but don't enforce any retention for images.
Staging images should be discouraged from being used and therefore adding a retention policy would help setting the right expectations as well as keep our storage needs lower in the long run.
I am proposing the same 60d retention to keep things the same across all staging retention settings. Happy for other suggestions.
Additional notes:
Currently GCR itself doesn't provide retention settings. We could create the retention on the GCR created bucket, but I assume this could lead to weird issues.
The other option could run a prow job every week to clean up older images.
"Manual" removal script example: https://gist.github.com/ahmetb/7ce6d741bd5baa194a3fac6b1fec8bb7
Metadata
Metadata
Assignees
Labels
Type
Projects
Status