* consolidate k8s flags to an environment package
* add copyright
* fix comment style
* use go1.16 in workflows so downstream tests work
* Deprecate GetRESTConfig and do not remove
* update copyright date
* Allow override QPS and Burst via flag.
Add `--kube-api-qps` and `--kube-api-burst` command-line flags
to control client QPS and Burst respectively.
The default value is set to 0 to keep backward compatibility.
Signed-off-by: Pierangelo Di Pilato <pierangelodipilato@gmail.com>
* Inline validation functions
Signed-off-by: Pierangelo Di Pilato <pierangelodipilato@gmail.com>
* put EnableInjectionOrDie back on the main path
* nil check pointer type
* move enable injeciton out of sharedmain
* lint
* nit picking fmt....
* add documentation
* feedback cleanup
* injection.GetRESTConfig
* redirect code that moved: