mirror of
https://github.com/actions/actions-runner-controller.git
synced 2025-12-11 03:57:01 +00:00
Add shortNames to CRDs(#693)
Add `shortNames` to kube api-resource CRDs. Short-names make it easier when interacting/troubleshooting api-resources with kubectl. We have tried to follow the naming convention similar to what K8s uses which should help with avoiding any naming conflicts as well. For example: * `Deployment` has a shortName of deploy, so added rdeploy for `runnerdeployment` * `HorizontalPodAutoscaler` has a shortName of hpa, so added hra for `HorizontalRunnerAutoscaler` * `ReplicaSets` has a shortName of rs, so added rrs for `runnerreplicaset` Co-authored-by: abhinav454 <43758739+abhinav454@users.noreply.github.com>
This commit is contained in:
@@ -13,6 +13,8 @@ spec:
|
||||
kind: HorizontalRunnerAutoscaler
|
||||
listKind: HorizontalRunnerAutoscalerList
|
||||
plural: horizontalrunnerautoscalers
|
||||
shortNames:
|
||||
- hra
|
||||
singular: horizontalrunnerautoscaler
|
||||
scope: Namespaced
|
||||
versions:
|
||||
|
||||
@@ -11,6 +11,8 @@ spec:
|
||||
kind: RunnerDeployment
|
||||
listKind: RunnerDeploymentList
|
||||
plural: runnerdeployments
|
||||
shortNames:
|
||||
- rdeploy
|
||||
singular: runnerdeployment
|
||||
scope: Namespaced
|
||||
versions:
|
||||
|
||||
@@ -11,6 +11,8 @@ spec:
|
||||
kind: RunnerReplicaSet
|
||||
listKind: RunnerReplicaSetList
|
||||
plural: runnerreplicasets
|
||||
shortNames:
|
||||
- rrs
|
||||
singular: runnerreplicaset
|
||||
scope: Namespaced
|
||||
versions:
|
||||
|
||||
Reference in New Issue
Block a user