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
interface.go