cf-for-k8s
cf-for-k8s copied to clipboard
Image deletion does not work with Dockerhub
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.
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.
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