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

Improve webhook configuration #20

Closed glyn closed 2 years ago

glyn commented 4 years ago

TODO: make the following conditional on the target kubernetes being at v1.15+.

Configure reinvocationPolicy: IfNeeded to ensure mutations by other webhooks are processed (e.g. if a sidecar pod is injected, need to relocate the image).

Configure matchPolicy: Equivalent to ensure all versions of a pod spec are processed.