From b805cfada7863a23946b5ae362d4c071dbaa7a43 Mon Sep 17 00:00:00 2001 From: KeisukeYamashita <19yamashita15@gmail.com> Date: Mon, 18 Oct 2021 06:01:08 +0900 Subject: [PATCH] Fix `maxReplicas` typo in `HorizontalRunnerAutoscaler` spec comment (#895) * Fix maxreplicas in spec comment Signed-off-by: KeisukeYamashita <19yamashita15@gmail.com> * Generate manifests Signed-off-by: KeisukeYamashita <19yamashita15@gmail.com> --- api/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/api/v1alpha1/horizontalrunnerautoscaler_types.go b/api/v1alpha1/horizontalrunnerautoscaler_types.go index 89a23584..350583e7 100644 --- a/api/v1alpha1/horizontalrunnerautoscaler_types.go +++ b/api/v1alpha1/horizontalrunnerautoscaler_types.go @@ -29,7 +29,7 @@ type HorizontalRunnerAutoscalerSpec struct { // +optional MinReplicas *int `json:"minReplicas,omitempty"` - // MinReplicas is the maximum number of replicas the deployment is allowed to scale + // MaxReplicas is the maximum number of replicas the deployment is allowed to scale // +optional MaxReplicas *int `json:"maxReplicas,omitempty"` 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 3b82566a..3ce991e1 100644 --- a/charts/actions-runner-controller/crds/actions.summerwind.dev_horizontalrunnerautoscalers.yaml +++ b/charts/actions-runner-controller/crds/actions.summerwind.dev_horizontalrunnerautoscalers.yaml @@ -59,7 +59,7 @@ spec: type: object type: array maxReplicas: - description: MinReplicas is the maximum number of replicas the deployment is allowed to scale + description: MaxReplicas is the maximum number of replicas the deployment is allowed to scale type: integer metrics: description: Metrics is the collection of various metric targets to calculate desired number of runners diff --git a/config/crd/bases/actions.summerwind.dev_horizontalrunnerautoscalers.yaml b/config/crd/bases/actions.summerwind.dev_horizontalrunnerautoscalers.yaml index 3b82566a..3ce991e1 100644 --- a/config/crd/bases/actions.summerwind.dev_horizontalrunnerautoscalers.yaml +++ b/config/crd/bases/actions.summerwind.dev_horizontalrunnerautoscalers.yaml @@ -59,7 +59,7 @@ spec: type: object type: array maxReplicas: - description: MinReplicas is the maximum number of replicas the deployment is allowed to scale + description: MaxReplicas is the maximum number of replicas the deployment is allowed to scale type: integer metrics: description: Metrics is the collection of various metric targets to calculate desired number of runners