vmware-archive / kubernetes-image-mapper

[Prototype] Apply relocation mappings on the fly to kubernetes resources
Apache License 2.0
0 stars 2 forks source link

Implement a MutatingAdmissionWebhook to apply relocation mappings to pods #3

Open glyn opened 5 years ago

glyn commented 5 years ago

This was suggested in discussions with the kubernetes community as a way of applying a relocation mapping to image references used to create containers. The webhook would need to mutate pods to replace image references with their relocated counterparts.

The relocation mapping state of the webhook should be managed by a controller which would monitor resources describing partial relocation mappings.

glyn commented 4 years ago

TODO (possibly in later issues):

glyn commented 4 years ago

Improvements from @roycaihw's excellent KubeCon presentation on admission webhooks:

glyn commented 4 years ago

See https://github.com/pivotal/kubernetes-image-mapper/pull/20