Add short names for Volume Snapshot CRDs
This allows end users to run `kubectl get vs`, for example, instead of `kubectl get volumesnapshot`. The following short names have been implemented: * `VolumeSnapshot` - `vs` * `VolumeSnapshotContent` - `vsc`, `vscs` * `VolumeSnapshotClass` - `vsclass`, `vsclasses`
This commit is contained in:
@@ -14,6 +14,9 @@ spec:
|
||||
kind: VolumeSnapshotClass
|
||||
listKind: VolumeSnapshotClassList
|
||||
plural: volumesnapshotclasses
|
||||
shortNames:
|
||||
- vsclass
|
||||
- vsclasses
|
||||
singular: volumesnapshotclass
|
||||
scope: Cluster
|
||||
versions:
|
||||
|
@@ -14,6 +14,9 @@ spec:
|
||||
kind: VolumeSnapshotContent
|
||||
listKind: VolumeSnapshotContentList
|
||||
plural: volumesnapshotcontents
|
||||
shortNames:
|
||||
- vsc
|
||||
- vscs
|
||||
singular: volumesnapshotcontent
|
||||
scope: Cluster
|
||||
versions:
|
||||
|
@@ -14,6 +14,8 @@ spec:
|
||||
kind: VolumeSnapshot
|
||||
listKind: VolumeSnapshotList
|
||||
plural: volumesnapshots
|
||||
shortNames:
|
||||
- vs
|
||||
singular: volumesnapshot
|
||||
scope: Namespaced
|
||||
versions:
|
||||
|
Reference in New Issue
Block a user