Skip to content
This repository has been archived by the owner on Jul 2, 2020. It is now read-only.

Add possibility to mark images as unuseable #94

Closed
lenalebt opened this issue Jun 10, 2016 · 4 comments
Closed

Add possibility to mark images as unuseable #94

lenalebt opened this issue Jun 10, 2016 · 4 comments

Comments

@lenalebt
Copy link

Currently, there is no possibility to delete images in pierone. This is a good thing, since we force immutability. Nevertheless, sometimes there is the need to make sure an image is not used anymore, for example because it is broken or imposes security risks.

I am looking for a feature to mark images as deleted / unuseable. I would expect that one still is able to download the images somehow (because you should always be able to inspect its contents), but it should not work by default. This way, one would make machine creation with e.g. senza impossible.

@hjacobs
Copy link
Contributor

hjacobs commented Jun 10, 2016

This is also related to zalando-stups/pierone-cli#25 (hide some artifacts in Pier One CLI output)

@hjacobs
Copy link
Contributor

hjacobs commented Jun 10, 2016

👍 for some new flag ("active"? "deleted"?) for image tags, this is also interesting in combination with the new Clair severity information (images with security issues could be "decommissioned").

@sarnowski
Copy link
Contributor

It must not be "docker pullable" if its "inactive".

@dryewo
Copy link
Contributor

dryewo commented Aug 1, 2016

Who should be authorized to do this? Deactivating some important image may result in failed builds or even deployments, having an impact on production.

So far the concept looks like this:

$ pierone deactivate stups openjdk 8-30 "No longer supported"
$ pierone activate stups openjdk 8-30 "Oops, wrong image"

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

No branches or pull requests

5 participants