diff --git a/api/v1alpha1/githubactionrunner_types.go b/api/v1alpha1/githubactionrunner_types.go index be3450d3..9817f3ed 100644 --- a/api/v1alpha1/githubactionrunner_types.go +++ b/api/v1alpha1/githubactionrunner_types.go @@ -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"` diff --git a/config/crd/bases/garo.tietoevry.com_githubactionrunners.yaml b/config/crd/bases/garo.tietoevry.com_githubactionrunners.yaml index 4b3cfe6b..86ed6ece 100644 --- a/config/crd/bases/garo.tietoevry.com_githubactionrunners.yaml +++ b/config/crd/bases/garo.tietoevry.com_githubactionrunners.yaml @@ -13,6 +13,8 @@ spec: kind: GithubActionRunner listKind: GithubActionRunnerList plural: githubactionrunners + shortNames: + - garo singular: githubactionrunner scope: Namespaced versions: