Skip to content

Commit

Permalink
add shortname
Browse files Browse the repository at this point in the history
  • Loading branch information
davidkarlsen committed Dec 29, 2020
1 parent 1e6bbca commit d94aee4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion api/v1alpha1/githubactionrunner_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ type GithubActionRunnerStatus struct {
// GithubActionRunner is the Schema for the githubactionrunners API
// +kubebuilder:object:root=true
// +kubebuilder:subresource:status
// +kubebuilder:resource:path=githubactionrunners,scope=Namespaced
// +kubebuilder:resource:path=githubactionrunners,scope=Namespaced,shortName=garo
// +kubebuilder:printcolumn:name="currentPoolSize",type=integer,JSONPath=`.status.currentSize`
type GithubActionRunner struct {
metav1.TypeMeta `json:",inline"`
Expand Down
2 changes: 2 additions & 0 deletions config/crd/bases/garo.tietoevry.com_githubactionrunners.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ spec:
kind: GithubActionRunner
listKind: GithubActionRunnerList
plural: githubactionrunners
shortNames:
- garo
singular: githubactionrunner
scope: Namespaced
versions:
Expand Down

0 comments on commit d94aee4

Please sign in to comment.