• Kubernetes Submit Queue's avatar
    Merge pull request #48807 from jsafrane/fc-describe · 89a1ce2c
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue (batch tested with PRs 46094, 48544, 48807, 49102, 44174)
    
    Implement kubectl describe <fibre-channel PV>
    
    kubectl did not show any details about Fibre Channel volumes, someone just forgot to implement it.
    
    Tested with:
    
    ```shell
    $ kubectl create -f - <<EOF
    apiVersion: v1
    kind: PersistentVolume
    metadata:
      name: myfc
    spec:
      capacity:
        storage: 100Gi
      accessModes:
        - ReadWriteOnce
      persistentVolumeReclaimPolicy: Delete
      fc:
           targetWWNs: ['500a0982991b8dc5', '500a0982891b8dc5']
           lun: 2
           fsType: ext4
           readOnly: true
    EOF
    
    $ kubectl describe pv myfc
    Name:		myfc
    Labels:		<none>
    Annotations:	<none>
    StorageClass:	
    Status:		Available
    Claim:		
    Reclaim Policy:	Delete
    Access Modes:	RWO
    Capacity:	100Gi
    Message:	
    Source:
        Type:	FC (a Fibre Channel disk)
        TargetWWNs:	500a0982991b8dc5, 500a0982891b8dc5
        LUN:	2
        FSType:	ext4
        ReadOnly:	true
    Events:		<none>
    ```
    
    ```release-note
    NONE
    ```
    @kubernetes/sig-cli-pr-reviews
    89a1ce2c
Name
Last commit
Last update
..
internalversion Loading commit data...
storage Loading commit data...
.import-restrictions Loading commit data...
BUILD Loading commit data...
OWNERS Loading commit data...
common.go Loading commit data...
customcolumn.go Loading commit data...
customcolumn_test.go Loading commit data...
humanreadable.go Loading commit data...
interface.go Loading commit data...
json.go Loading commit data...
jsonpath.go Loading commit data...
name.go Loading commit data...
printers.go Loading commit data...
tabwriter.go Loading commit data...
template.go Loading commit data...
versioned.go Loading commit data...