Commit Graph

5 Commits

Author SHA1 Message Date
David Simansky d0c133d4e6
Revert "Fix potential redefined error with kubeconfig flag (#2855)" (#2869)
This reverts commit bae23eb357.
2023-10-16 16:13:44 +00:00
David Simansky bae23eb357
Fix potential redefined error with kubeconfig flag (#2855) 2023-10-09 13:40:48 +00:00
Kenjiro Nakayama eb63a40adf
Support to set qps and burst via env variable (#2755)
* Support to set client config via env variable

Currently some configuration such as `kube-api-burst` and
`kube-api-qps` must be set via command line option.

Knative deployments usually do not have the command line option,
the command line option is unusual and so knative/operator also does
not support the API.

Hence This patch allows to set client config via env variable.

* only qps and burst

* Add copyright

* Handle float

* Add error handling
2023-06-16 13:46:50 +00:00
Ben Moss fa8095f04e
Use default Kubeconfig loading rules (#2197)
This mimics the behavior of tools like kubectl, should work for
both in-cluster and out-of-cluster usages
2021-07-22 11:42:03 -07:00
Dave Protasowski 47dfdcfaed
consolidate k8s flags to an environment package (#2133)
* 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
2021-05-28 13:30:30 -07:00