diff --git a/lib/krane/cluster_resource_discovery.rb b/lib/krane/cluster_resource_discovery.rb index 44f968906..a4987d3f2 100644 --- a/lib/krane/cluster_resource_discovery.rb +++ b/lib/krane/cluster_resource_discovery.rb @@ -64,7 +64,7 @@ def api_paths def fetch_api_path(path) @api_path_cache[path] ||= begin - raw_json, err, st = kubectl.run("get", "--raw", path, attempts: 2, use_namespace: false) + raw_json, err, st = kubectl.run("get", "--raw", base_api_path , attempts: 2, use_namespace: false) if st.success? MultiJson.load(raw_json) else