@@ -297,19 +297,20 @@ public static function getKindFromModel(Model $model): string
297
297
{
298
298
$ kind = match (true ) {
299
299
$ model instanceof ConfigMap,
300
- $ model instanceof CronJob,
301
- $ model instanceof DaemonSet,
302
- $ model instanceof Deployment,
303
- $ model instanceof Ingress,
304
- $ model instanceof Job,
305
- $ model instanceof PersistentVolume,
306
- $ model instanceof PersistentVolumeClaim,
307
- $ model instanceof Pod,
308
- $ model instanceof ReplicaSet,
309
- $ model instanceof Secret,
310
- $ model instanceof Service,
311
- $ model instanceof StatefulSet => basename (str_replace ('\\' , '/ ' , get_class ($ model ))),
312
- default => null
300
+ $ model instanceof CronJob,
301
+ $ model instanceof DaemonSet,
302
+ $ model instanceof Deployment,
303
+ $ model instanceof Ingress,
304
+ $ model instanceof Job,
305
+ $ model instanceof Node,
306
+ $ model instanceof PersistentVolume,
307
+ $ model instanceof PersistentVolumeClaim,
308
+ $ model instanceof Pod,
309
+ $ model instanceof ReplicaSet,
310
+ $ model instanceof Secret,
311
+ $ model instanceof Service,
312
+ $ model instanceof StatefulSet => basename (str_replace ('\\' , '/ ' , get_class ($ model ))),
313
+ default => null
313
314
};
314
315
315
316
return strtolower (str_replace (['_ ' , '- ' ], '' , $ kind ));
@@ -336,6 +337,7 @@ public static function fetchResource(string $kind, Connection $db = null): ?Quer
336
337
'deployment ' => Deployment::on ($ database ),
337
338
'ingress ' => Ingress::on ($ database ),
338
339
'job ' => Job::on ($ database ),
340
+ 'node ' => Node::on ($ database ),
339
341
'persistentvolume ' => PersistentVolume::on ($ database ),
340
342
'persistentvolumeclaim ' => PersistentVolumeClaim::on ($ database ),
341
343
'pod ' => Pod::on ($ database ),
0 commit comments