From 34909f0cf1324729d0b81226bc5f7d61b1f83c92 Mon Sep 17 00:00:00 2001 From: Armin Becher Date: Sat, 27 May 2023 04:22:44 +0200 Subject: [PATCH] Fix typo in HorizontalRunnerAutoscaler (#2563) Co-authored-by: Yusuke Kuoka --- .../v1alpha1/horizontalrunnerautoscaler_types.go | 2 +- .../actions.summerwind.dev_horizontalrunnerautoscalers.yaml | 2 +- .../actions.summerwind.dev_horizontalrunnerautoscalers.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apis/actions.summerwind.net/v1alpha1/horizontalrunnerautoscaler_types.go b/apis/actions.summerwind.net/v1alpha1/horizontalrunnerautoscaler_types.go index 138d8da1..84b85ae6 100644 --- a/apis/actions.summerwind.net/v1alpha1/horizontalrunnerautoscaler_types.go +++ b/apis/actions.summerwind.net/v1alpha1/horizontalrunnerautoscaler_types.go @@ -22,7 +22,7 @@ import ( // HorizontalRunnerAutoscalerSpec defines the desired state of HorizontalRunnerAutoscaler type HorizontalRunnerAutoscalerSpec struct { - // ScaleTargetRef sis the reference to scaled resource like RunnerDeployment + // ScaleTargetRef is the reference to scaled resource like RunnerDeployment ScaleTargetRef ScaleTargetRef `json:"scaleTargetRef,omitempty"` // MinReplicas is the minimum number of replicas the deployment is allowed to scale diff --git a/charts/actions-runner-controller/crds/actions.summerwind.dev_horizontalrunnerautoscalers.yaml b/charts/actions-runner-controller/crds/actions.summerwind.dev_horizontalrunnerautoscalers.yaml index da1fd06b..b82589de 100644 --- a/charts/actions-runner-controller/crds/actions.summerwind.dev_horizontalrunnerautoscalers.yaml +++ b/charts/actions-runner-controller/crds/actions.summerwind.dev_horizontalrunnerautoscalers.yaml @@ -113,7 +113,7 @@ spec: description: ScaleDownDelaySecondsAfterScaleUp is the approximate delay for a scale down followed by a scale up Used to prevent flapping (down->up->down->... loop) type: integer scaleTargetRef: - description: ScaleTargetRef sis the reference to scaled resource like RunnerDeployment + description: ScaleTargetRef is the reference to scaled resource like RunnerDeployment properties: kind: description: Kind is the type of resource being referenced diff --git a/config/crd/bases/actions.summerwind.dev_horizontalrunnerautoscalers.yaml b/config/crd/bases/actions.summerwind.dev_horizontalrunnerautoscalers.yaml index da1fd06b..b82589de 100644 --- a/config/crd/bases/actions.summerwind.dev_horizontalrunnerautoscalers.yaml +++ b/config/crd/bases/actions.summerwind.dev_horizontalrunnerautoscalers.yaml @@ -113,7 +113,7 @@ spec: description: ScaleDownDelaySecondsAfterScaleUp is the approximate delay for a scale down followed by a scale up Used to prevent flapping (down->up->down->... loop) type: integer scaleTargetRef: - description: ScaleTargetRef sis the reference to scaled resource like RunnerDeployment + description: ScaleTargetRef is the reference to scaled resource like RunnerDeployment properties: kind: description: Kind is the type of resource being referenced