diff --git a/pykube/query.py b/pykube/query.py index 31d4b3b..e1ed723 100644 --- a/pykube/query.py +++ b/pykube/query.py @@ -152,6 +152,8 @@ def object_stream(self): "url": self._build_api_url(params=params), "stream": True, } + if self.api_obj_class.base: + kwargs["base"] = self.api_obj_class.base if self.namespace is not all_: kwargs["namespace"] = self.namespace if self.api_obj_class.version: