pkg/webhook/resourcesemantics
Pierangelo Di Pilato f4b57aef00
Fix invalid creator or lastModifier annotations on core resources (#2409)
When the admission request is for a resource with an empty string as
group, which happens on core resources, the `creator` or `lastModifier`
annotations are invalid since they become `/creator` or
`/lastModifier`.

This patch removes the `/` when group = `""`.

Signed-off-by: Pierangelo Di Pilato <pierdipi@redhat.com>
2022-01-31 06:49:30 -08:00
..
conversion Update actions (#2313) 2021-10-15 12:26:13 -07:00
defaulting Fix invalid creator or lastModifier annotations on core resources (#2409) 2022-01-31 06:49:30 -08:00
validation allow unknown metadata fields (#2249) 2021-09-02 07:33:06 -07:00
interface.go Split the resource semantic webhooks into separate AdmissionControllers (#848) 2019-11-14 16:51:02 -08:00