Skip to content

Commit 1092d6c

Browse files
committed
define aw as a shortname for appwrapper
1 parent 2988f2a commit 1092d6c

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

api/v1beta2/appwrapper_types.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,7 @@ const (
186186

187187
//+kubebuilder:object:root=true
188188
//+kubebuilder:subresource:status
189+
//+kubebuilder:resource:shortName={aw}
189190
//+kubebuilder:printcolumn:name="Status",type="string",JSONPath=`.status.phase`
190191
//+kubebuilder:printcolumn:name="Quota Reserved",type="string",JSONPath=".status.conditions[?(@.type==\"QuotaReserved\")].status"
191192
//+kubebuilder:printcolumn:name="Resources Deployed",type="string",JSONPath=".status.conditions[?(@.type==\"ResourcesDeployed\")].status"

config/crd/bases/workload.codeflare.dev_appwrappers.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ spec:
1111
kind: AppWrapper
1212
listKind: AppWrapperList
1313
plural: appwrappers
14+
shortNames:
15+
- aw
1416
singular: appwrapper
1517
scope: Namespaced
1618
versions:

0 commit comments

Comments
 (0)