cli: recognize persistent volume claim in status
@@ -494,6 +494,8 @@ func (f namespacedFormatter) ResourceName(obj interface{}) string {
return namespaceNameWithType("hpa", t.HorizontalPodAutoscaler.Name, t.HorizontalPodAutoscaler.Namespace, f.currentNamespace, f.hideNamespace)
case *kubegraph.StatefulSetNode:
return namespaceNameWithType("statefulset", t.StatefulSet.Name, t.StatefulSet.Namespace, f.currentNamespace, f.hideNamespace)
+ case *kubegraph.PersistentVolumeClaimNode:
+ return namespaceNameWithType("pvc", t.PersistentVolumeClaim.Name, t.PersistentVolumeClaim.Namespace, f.currentNamespace, f.hideNamespace)
case *imagegraph.ImageStreamNode:
return namespaceNameWithType("is", t.ImageStream.Name, t.ImageStream.Namespace, f.currentNamespace, f.hideNamespace)
