-
Notifications
You must be signed in to change notification settings - Fork 64
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
[Feature]: Container images are deleted alongside packages #2228
Comments
kieron-dev
pushed a commit
that referenced
this issue
Mar 7, 2023
Common place for push, delete and get labels from container registry images Issue: #2228 Co-authored-by: Kieron Browne <kbrowne@vmware.com> Co-authored-by: Giuseppe Capizzi <gcapizzi@vmware.com>
kieron-dev
pushed a commit
that referenced
this issue
Mar 7, 2023
Issue: #2228 Co-authored-by: Kieron Browne <kbrowne@vmware.com>
kieron-dev
pushed a commit
that referenced
this issue
Mar 7, 2023
Issue: #2228 Co-authored-by: Kieron Browne <kbrowne@vmware.com> Co-authored-by: Giuseppe Capizzi <gcapizzi@vmware.com>
kieron-dev
pushed a commit
that referenced
this issue
Mar 7, 2023
Common place for push, delete and get labels from container registry images Issue: #2228 Co-authored-by: Kieron Browne <kbrowne@vmware.com> Co-authored-by: Giuseppe Capizzi <gcapizzi@vmware.com>
kieron-dev
pushed a commit
that referenced
this issue
Mar 7, 2023
Issue: #2228 Co-authored-by: Kieron Browne <kbrowne@vmware.com> Co-authored-by: Giuseppe Capizzi <gcapizzi@vmware.com>
We are implementing this by adding a finalizer to CFPackage that deletes the container image from the registry using the docker registry v2 API using the go-containerregistry library. Some interesting observations:
|
kieron-dev
pushed a commit
that referenced
this issue
Mar 9, 2023
Common place for push, delete and get labels from container registry images Issue: #2228 Co-authored-by: Kieron Browne <kbrowne@vmware.com> Co-authored-by: Giuseppe Capizzi <gcapizzi@vmware.com>
kieron-dev
pushed a commit
that referenced
this issue
Mar 9, 2023
Issue: #2228 Co-authored-by: Kieron Browne <kbrowne@vmware.com> Co-authored-by: Giuseppe Capizzi <gcapizzi@vmware.com>
kieron-dev
pushed a commit
that referenced
this issue
Mar 10, 2023
Issue: #2228 Co-authored-by: Giuseppe Capizzi <gcapizzi@vmware.com>
kieron-dev
pushed a commit
that referenced
this issue
Mar 10, 2023
Issue: #2228 Co-authored-by: Giuseppe Capizzi <gcapizzi@vmware.com>
gcapizzi
added a commit
that referenced
this issue
Mar 10, 2023
Issue: #2228 Co-authored-by: Giuseppe Capizzi <gcapizzi@vmware.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Background
As an operator
I want to only store container images for packages currently used by the system
So that I don't face increasing costs of storage for running the same amount of apps
Acceptance Criteria
GIVEN I have a package
AND I have uploaded sources for it
WHEN I delete the package
THEN I see the corresponding container image containing the source has been deleted
Dev Notes
See #2112 (comment) for details.
The text was updated successfully, but these errors were encountered: