cf-for-k8s icon indicating copy to clipboard operation
cf-for-k8s copied to clipboard

Image deletion does not work with Dockerhub

Open njbennett opened this issue 4 years ago • 2 comments

Describe the bug

When cf-for-k8s is configured to use a DockerHub registry to store app packages, we expect deletion and cleanup operations to fail.

Expected behavior

Cloud Controller should clean up images it controls from the registry regardless of registry type.

Additional context

Technically this describes a state that will be true very soon, when the CF API Kubernetes Evolution (CAKE) team ships our first pass at implementing package cleanup from registries. During that story we discovered that deletion works slightly differently in DockerHub than it does other supported registry types, so we deferred complete implementation.

The CF API Kubernetes Evolution (CAKE) team has work planned to implement this behavior. This issue is here to document that intent, and to track any future communication related to it.

njbennett avatar Oct 07 '20 17:10 njbennett

We have created an issue in Pivotal Tracker to manage this:

https://www.pivotaltracker.com/story/show/175171209

The labels on this github issue will be updated when the story is started.

cf-gitbot avatar Oct 07 '20 17:10 cf-gitbot

Dropping off a couple of related issues here:

  • https://github.com/docker/hub-feedback/issues/1759
  • https://github.com/google/go-containerregistry/issues/746

cc @ewrenn8

tcdowney avatar Oct 09 '20 21:10 tcdowney