diff --git a/api/v1alpha1/kustomization_types.go b/api/v1alpha1/kustomization_types.go index e8136bef..e7108db3 100644 --- a/api/v1alpha1/kustomization_types.go +++ b/api/v1alpha1/kustomization_types.go @@ -213,6 +213,7 @@ const ( // +genclient // +genclient:Namespaced // +kubebuilder:object:root=true +// +kubebuilder:resource:shortName=ks // +kubebuilder:subresource:status // +kubebuilder:printcolumn:name="Ready",type="string",JSONPath=".status.conditions[?(@.type==\"Ready\")].status",description="" // +kubebuilder:printcolumn:name="Status",type="string",JSONPath=".status.conditions[?(@.type==\"Ready\")].message",description="" diff --git a/config/crd/bases/kustomize.toolkit.fluxcd.io_kustomizations.yaml b/config/crd/bases/kustomize.toolkit.fluxcd.io_kustomizations.yaml index a7bdb635..cedcf7fa 100644 --- a/config/crd/bases/kustomize.toolkit.fluxcd.io_kustomizations.yaml +++ b/config/crd/bases/kustomize.toolkit.fluxcd.io_kustomizations.yaml @@ -13,6 +13,8 @@ spec: kind: Kustomization listKind: KustomizationList plural: kustomizations + shortNames: + - ks singular: kustomization scope: Namespaced versions: