kontena / k8s-client

Ruby Kubernetes API client
Apache License 2.0
76 stars 26 forks source link

K8s::Client.autoconfig is broken when KUBECONFIG env is set #98

Closed jakolehm closed 5 years ago

jakolehm commented 5 years ago
ArgumentError: wrong number of arguments (given 2, expected 0..1)
  /Users/user/.gem/ruby/2.5.3/gems/k8s-client-0.8.1/lib/k8s/config.rb:113:in `from_kubeconfig_env'
  /Users/user/.gem/ruby/2.5.3/gems/k8s-client-0.8.1/lib/k8s/client.rb:73:in `autoconfig'