It looks like OPA Gatekeeper uses irregular GroupVersionResource values (and this is a fringe possibility for other resources as well), that the inflect-based logic we were using fails for. Just getting this from the RestMapper mimics cli-utils existing functionality and is more robust
It looks like OPA Gatekeeper uses irregular GroupVersionResource values (and this is a fringe possibility for other resources as well), that the inflect-based logic we were using fails for. Just getting this from the RestMapper mimics cli-utils existing functionality and is more robust
Fixes PROD-2425