mirror of https://github.com/knative/client.git
* Set current namespace from kubeconfig by default Currently kn command does not pick up namespace from kubeconfig but hardcorded default namespace. This patch fixes to get namespace from kubeconfig. Fixes https://github.com/knative/client/issues/7 * Use NamespaceFactory to get current namespace * Update unit tests * Add nil check for ClientConfig |
||
|---|---|---|
| .. | ||
| main.go | ||