JSON6902 patches should allow matching on group when version is not specified
Author: BenTheElderCreated Feb 13, 2020Updated Sep 29, 2026
Labelskind/featurehelp wantedlifecycle/frozenpriority/important-longterm
What would you like to be added:
the internal patch runtime should handle group / version matching so that GK can be specified without full GVK (Group, Version, Kind).
basically we want to allow not specfiying V (version) since versions are often largely the same but group and kind key totally different objects and we probably don't want patches applied to all objects.
Why is this needed:
To avoid surprising behavior when version is left unspecified in JSON6902 patches
/assign
Source: kubernetes-sigs/kind