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:
Robbie deMuth
2021-10-29 10:43:48 -04:00
parent caef201192
commit 4f5383af19
7 changed files with 20 additions and 12 deletions

View File

@@ -14,6 +14,8 @@ spec:
kind: VolumeSnapshot
listKind: VolumeSnapshotList
plural: volumesnapshots
shortNames:
- vs
singular: volumesnapshot
scope: Namespaced
versions: