When using this proxy to expose kubernetes api to external (read: non-trusted) users a very helpful option would be to limit what API groups are exposed trough proxy. This way one can be sure that the external user is only allowed to interact with certain APIs (eg. allow interacting only Deploymens or a cusom resource but do not allow user to list Nodes for example).
Would a PR for his make sense?