Skip to content

Commit

Permalink
feat(api): add "rpaas" as short name of RpaasInstance resource
Browse files Browse the repository at this point in the history
  • Loading branch information
nettoclaudio committed May 23, 2023
1 parent 88d0766 commit d6c35ce
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions api/v1alpha1/rpaasinstance_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 2 additions & 0 deletions config/crd/bases/extensions.tsuru.io_rpaasinstances.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ spec:
kind: RpaasInstance
listKind: RpaasInstanceList
plural: rpaasinstances
shortNames:
- rpaas
singular: rpaasinstance
scope: Namespaced
versions:
Expand Down

0 comments on commit d6c35ce

Please sign in to comment.