Skip to content

Commit af48849

Browse files
committed
Update ImageUpdateAutomation shortNames to iua,imgupd,imgauto
Changes shortNames from imgupd,imageupdate,imgauto,imageauto to iua,imgupd,imgauto based on maintainer feedback to limit the number of aliases and use more concise naming. Updates both the kubebuilder resource annotation and the generated CRD manifest. Signed-off-by: cappyzawa <[email protected]>
1 parent ee384d7 commit af48849

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

api/v1beta2/imageupdateautomation_types.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,7 @@ type ObservedPolicies map[string]ImageRef
133133
//+kubebuilder:object:root=true
134134
//+kubebuilder:subresource:status
135135
//+kubebuilder:printcolumn:name="Last run",type=string,JSONPath=`.status.lastAutomationRunTime`
136+
//+kubebuilder:resource:shortName=iua;imgupd;imgauto
136137

137138
// ImageUpdateAutomation is the Schema for the imageupdateautomations API
138139
type ImageUpdateAutomation struct {

config/crd/bases/image.toolkit.fluxcd.io_imageupdateautomations.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ spec:
1111
kind: ImageUpdateAutomation
1212
listKind: ImageUpdateAutomationList
1313
plural: imageupdateautomations
14+
shortNames:
15+
- iua
16+
- imgupd
17+
- imgauto
1418
singular: imageupdateautomation
1519
scope: Namespaced
1620
versions:

0 commit comments

Comments
 (0)