Skip to content

Commit

Permalink
feat(config): expose the current namespace on the config object (#436)
Browse files Browse the repository at this point in the history
  • Loading branch information
lholmquist authored and silasbw committed Apr 1, 2019
1 parent a6d8dba commit d7e0688
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,7 @@ function fromKubeconfig (kubeconfig, current) {

return {
url: cluster.server,
namespace: context.namespace,
auth: Object.keys(auth).length ? auth : null,
ca: ca,
insecureSkipTlsVerify: insecureSkipTlsVerify,
Expand Down

0 comments on commit d7e0688

Please sign in to comment.