mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 11:50:44 +00:00
AllowVolumExpansion field to describe printer.
Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
This commit is contained in:
parent
e267f46c8e
commit
0512d036d5
@ -3284,6 +3284,7 @@ func describeStorageClass(sc *storage.StorageClass, events *api.EventList) (stri
|
|||||||
w.Write(LEVEL_0, "Annotations:\t%s\n", labels.FormatLabels(sc.Annotations))
|
w.Write(LEVEL_0, "Annotations:\t%s\n", labels.FormatLabels(sc.Annotations))
|
||||||
w.Write(LEVEL_0, "Provisioner:\t%s\n", sc.Provisioner)
|
w.Write(LEVEL_0, "Provisioner:\t%s\n", sc.Provisioner)
|
||||||
w.Write(LEVEL_0, "Parameters:\t%s\n", labels.FormatLabels(sc.Parameters))
|
w.Write(LEVEL_0, "Parameters:\t%s\n", labels.FormatLabels(sc.Parameters))
|
||||||
|
w.Write(LEVEL_0, "AllowVolumeExpansion:\t%s\n", printBoolPtr(sc.AllowVolumeExpansion))
|
||||||
if sc.ReclaimPolicy != nil {
|
if sc.ReclaimPolicy != nil {
|
||||||
w.Write(LEVEL_0, "ReclaimPolicy:\t%s\n", *sc.ReclaimPolicy)
|
w.Write(LEVEL_0, "ReclaimPolicy:\t%s\n", *sc.ReclaimPolicy)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user