diff --git a/api/v1alpha1/rpaasinstance_types.go b/api/v1alpha1/rpaasinstance_types.go index 0c5ac0c12..7582f82b3 100644 --- a/api/v1alpha1/rpaasinstance_types.go +++ b/api/v1alpha1/rpaasinstance_types.go @@ -313,6 +313,7 @@ type RpaasInstanceStatus struct { } // +kubebuilder:object:root=true +// +kubebuilder:resource:shortName=rpaas // +kubebuilder:subresource:status // +kubebuilder:subresource:scale:specpath=.spec.replicas,statuspath=.status.currentReplicas,selectorpath=.status.podSelector diff --git a/config/crd/bases/extensions.tsuru.io_rpaasinstances.yaml b/config/crd/bases/extensions.tsuru.io_rpaasinstances.yaml index 578fa8e31..681c93d91 100644 --- a/config/crd/bases/extensions.tsuru.io_rpaasinstances.yaml +++ b/config/crd/bases/extensions.tsuru.io_rpaasinstances.yaml @@ -13,6 +13,8 @@ spec: kind: RpaasInstance listKind: RpaasInstanceList plural: rpaasinstances + shortNames: + - rpaas singular: rpaasinstance scope: Namespaced versions: