From cc9fe33ef5f9e76da53d8a9f0a55fd9106cfb257 Mon Sep 17 00:00:00 2001 From: Adam Panzer Date: Mon, 22 Aug 2022 17:35:14 -0700 Subject: [PATCH] Change `type:` to `kind:` (#1740) Per the CRD spec here https://github.com/actions-runner-controller/actions-runner-controller/blob/master/charts/actions-runner-controller/crds/actions.summerwind.dev_horizontalrunnerautoscalers.yaml#L115-L127 It's `kind:` not `type:` --- README.md | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index 31713e62..0e24348d 100644 --- a/README.md +++ b/README.md @@ -543,7 +543,7 @@ spec: # for 5 minutes instead of the default 10 minutes now scaleDownDelaySecondsAfterScaleOut: 300 scaleTargetRef: - type: RunnerDeployment + kind: RunnerDeployment # # In case the scale target is RunnerSet: # kind: RunnerSet name: example-runner-deployment @@ -572,7 +572,7 @@ metadata: name: example-runner-deployment-autoscaler spec: scaleTargetRef: - type: RunnerDeployment + kind: RunnerDeployment # # In case the scale target is RunnerSet: # kind: RunnerSet name: example-runner-deployment @@ -616,7 +616,7 @@ metadata: name: example-runner-deployment-autoscaler spec: scaleTargetRef: - type: RunnerDeployment + kind: RunnerDeployment # # In case the scale target is RunnerSet: # kind: RunnerSet name: example-runner-deployment @@ -652,7 +652,7 @@ metadata: name: example-runner-deployment-autoscaler spec: scaleTargetRef: - type: RunnerDeployment + kind: RunnerDeployment # # In case the scale target is RunnerSet: # kind: RunnerSet name: example-runner-deployment @@ -674,7 +674,7 @@ metadata: name: example-runner-deployment-autoscaler spec: scaleTargetRef: - type: RunnerDeployment + kind: RunnerDeployment # # In case the scale target is RunnerSet: # kind: RunnerSet name: example-runner-deployment @@ -704,7 +704,7 @@ More concretely, you can configure the targeted GitHub event types and the `N` i kind: HorizontalRunnerAutoscaler spec: scaleTargetRef: - type: RunnerDeployment + kind: RunnerDeployment # # In case the scale target is RunnerSet: # kind: RunnerSet name: example-runners @@ -915,7 +915,7 @@ spec: minReplicas: 1 maxReplicas: 10 scaleTargetRef: - type: RunnerDeployment + kind: RunnerDeployment # # In case the scale target is RunnerSet: # kind: RunnerSet name: example-runners @@ -951,7 +951,7 @@ spec: minReplicas: 1 maxReplicas: 10 scaleTargetRef: - type: RunnerDeployment + kind: RunnerDeployment # # In case the scale target is RunnerSet: # kind: RunnerSet name: example-runners @@ -980,7 +980,7 @@ spec: minReplicas: 1 maxReplicas: 10 scaleTargetRef: - type: RunnerDeployment + kind: RunnerDeployment # # In case the scale target is RunnerSet: # kind: RunnerSet name: example-runners @@ -1013,7 +1013,7 @@ spec: minReplicas: 1 maxReplicas: 10 scaleTargetRef: - type: RunnerDeployment + kind: RunnerDeployment # # In case the scale target is RunnerSet: # kind: RunnerSet name: example-runners @@ -1044,7 +1044,7 @@ spec: minReplicas: 1 maxReplicas: 10 scaleTargetRef: - type: RunnerDeployment + kind: RunnerDeployment # # In case the scale target is RunnerSet: # kind: RunnerSet name: example-runners @@ -1092,7 +1092,7 @@ metadata: name: example-runner-deployment-autoscaler spec: scaleTargetRef: - type: RunnerDeployment + kind: RunnerDeployment # # In case the scale target is RunnerSet: # kind: RunnerSet name: example-runner-deployment @@ -1115,7 +1115,7 @@ metadata: name: example-runner-deployment-autoscaler spec: scaleTargetRef: - type: RunnerDeployment + kind: RunnerDeployment # # In case the scale target is RunnerSet: # kind: RunnerSet name: example-runner-deployment