Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide out-of-lifed image warning in status #807

Open
castrojo opened this issue Sep 29, 2024 · 3 comments
Open

Provide out-of-lifed image warning in status #807

castrojo opened this issue Sep 29, 2024 · 3 comments

Comments

@castrojo
Copy link

In Universal Blue we add a message to the user's terminal motd when they're on an image older than 90 days to remind them that they need to upgrade. This has been pretty useful and I've been thinking of how this can just be built into bootc if people think it's a good idea.

Maybe adding it to bootc status with the eol date of the image and then there's a visual indicator if it's past it's freshness date.

Then to go along with that maybe we could add a label, random example containers.bootc.eol-date so that can be adjusted depending on the use case, then people can just centralize that as policy when they build and push. Or maybe just surface quay.expires-after? Might be useful for QA folks who'll end up testing a bunch of development images, etc.

@cgwalters
Copy link
Collaborator

In Universal Blue we add a message to the user's terminal motd when they're on an image older than 90 days to remind them that they need to upgrade.

Agreed, makes total sense!

Or maybe just surface quay.expires-after?

IMO that feature is a trap because there's definitely use cases for others to push "expired" images to their own private mirrors, etc.

Then to go along with that maybe we could add a label, random example containers.bootc.eol-date

This is a generic container issue not specific to bootc I believe...would be useful to try to drive something like this via OCI right?

@castrojo
Copy link
Author

castrojo commented Sep 29, 2024 via email

@vrothberg
Copy link
Member

It's probably worth pursuing both: starting with a bootc-specific label and proposing to the OCI in parallel. The latter can take a lot of time and usually requires some in-the-wild experience with the proposed feature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants