[feature] add ability to specify prefix to pull offline/local images from
Bug #1833594 reported by
Jeff Hillman
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Kubernetes Control Plane Charm |
Triaged
|
Wishlist
|
Unassigned |
Bug Description
In an offline/local deploy of kubernetes, customer create their own private docker repo/registry.
In these cases, customers are not always wanting to keep the same expected labels for proper organization per team/group/usage.
Specifically, something like
k8s.gcr.
docker.
they might want to lump them together for
k8s-deploy/
k8s-deploy/
The current tooling does not allow for this. We can specify an offline/private registry (in some cases), but not a prefix in that registry.
no longer affects: | charm-kubernetes-e2e |
Changed in charm-kubernetes-master: | |
importance: | Undecided → Wishlist |
status: | New → Triaged |
To post a comment you must log in.
I think we can find a nice way to truncate image prefixes, but we would then expect all images to be in a flat structure at the configured image-registry.
That may cover a majority of private registry users, but I think we'll have some that want certain images (maybe storage-related) to come from a ./k8s-storage prefix and others (maybe ingress) to come from a ./k8s-ingress prefix. That scenario would be more difficult to accommodate -- the only solution I have for that today would be to expose config for every image that could possibly be used in a CDK deploy, and that's a mess.
Thanks for the bug report; it's certainly something we'll hash out.