kontena / k8s-client

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

`in_cluster_config': uninitialized constant K8s::Error::Config (NameError) #96

Closed pre closed 5 years ago

pre commented 5 years ago

When #in_cluster_config fails, it gives out uninitialized constant K8s::Error::Config (NameError).

Repro:

require 'k8s-client'

# Note: This works inside cluster as expected!
K8s::Client.in_cluster_config

This fails with

k8s-client-0.8.1/lib/k8s/transport.rb:101:in `in_cluster_config': uninitialized constant K8s::Error::Config (NameError)
jnummelin commented 5 years ago

@pre which version are you using?

jnummelin commented 5 years ago

nevermind, me blind... :D