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:`
This commit is contained in:
parent
4a5a85fd61
commit
cc9fe33ef5
26
README.md
26
README.md
|
|
@ -543,7 +543,7 @@ spec:
|
||||||
# for 5 minutes instead of the default 10 minutes now
|
# for 5 minutes instead of the default 10 minutes now
|
||||||
scaleDownDelaySecondsAfterScaleOut: 300
|
scaleDownDelaySecondsAfterScaleOut: 300
|
||||||
scaleTargetRef:
|
scaleTargetRef:
|
||||||
type: RunnerDeployment
|
kind: RunnerDeployment
|
||||||
# # In case the scale target is RunnerSet:
|
# # In case the scale target is RunnerSet:
|
||||||
# kind: RunnerSet
|
# kind: RunnerSet
|
||||||
name: example-runner-deployment
|
name: example-runner-deployment
|
||||||
|
|
@ -572,7 +572,7 @@ metadata:
|
||||||
name: example-runner-deployment-autoscaler
|
name: example-runner-deployment-autoscaler
|
||||||
spec:
|
spec:
|
||||||
scaleTargetRef:
|
scaleTargetRef:
|
||||||
type: RunnerDeployment
|
kind: RunnerDeployment
|
||||||
# # In case the scale target is RunnerSet:
|
# # In case the scale target is RunnerSet:
|
||||||
# kind: RunnerSet
|
# kind: RunnerSet
|
||||||
name: example-runner-deployment
|
name: example-runner-deployment
|
||||||
|
|
@ -616,7 +616,7 @@ metadata:
|
||||||
name: example-runner-deployment-autoscaler
|
name: example-runner-deployment-autoscaler
|
||||||
spec:
|
spec:
|
||||||
scaleTargetRef:
|
scaleTargetRef:
|
||||||
type: RunnerDeployment
|
kind: RunnerDeployment
|
||||||
# # In case the scale target is RunnerSet:
|
# # In case the scale target is RunnerSet:
|
||||||
# kind: RunnerSet
|
# kind: RunnerSet
|
||||||
name: example-runner-deployment
|
name: example-runner-deployment
|
||||||
|
|
@ -652,7 +652,7 @@ metadata:
|
||||||
name: example-runner-deployment-autoscaler
|
name: example-runner-deployment-autoscaler
|
||||||
spec:
|
spec:
|
||||||
scaleTargetRef:
|
scaleTargetRef:
|
||||||
type: RunnerDeployment
|
kind: RunnerDeployment
|
||||||
# # In case the scale target is RunnerSet:
|
# # In case the scale target is RunnerSet:
|
||||||
# kind: RunnerSet
|
# kind: RunnerSet
|
||||||
name: example-runner-deployment
|
name: example-runner-deployment
|
||||||
|
|
@ -674,7 +674,7 @@ metadata:
|
||||||
name: example-runner-deployment-autoscaler
|
name: example-runner-deployment-autoscaler
|
||||||
spec:
|
spec:
|
||||||
scaleTargetRef:
|
scaleTargetRef:
|
||||||
type: RunnerDeployment
|
kind: RunnerDeployment
|
||||||
# # In case the scale target is RunnerSet:
|
# # In case the scale target is RunnerSet:
|
||||||
# kind: RunnerSet
|
# kind: RunnerSet
|
||||||
name: example-runner-deployment
|
name: example-runner-deployment
|
||||||
|
|
@ -704,7 +704,7 @@ More concretely, you can configure the targeted GitHub event types and the `N` i
|
||||||
kind: HorizontalRunnerAutoscaler
|
kind: HorizontalRunnerAutoscaler
|
||||||
spec:
|
spec:
|
||||||
scaleTargetRef:
|
scaleTargetRef:
|
||||||
type: RunnerDeployment
|
kind: RunnerDeployment
|
||||||
# # In case the scale target is RunnerSet:
|
# # In case the scale target is RunnerSet:
|
||||||
# kind: RunnerSet
|
# kind: RunnerSet
|
||||||
name: example-runners
|
name: example-runners
|
||||||
|
|
@ -915,7 +915,7 @@ spec:
|
||||||
minReplicas: 1
|
minReplicas: 1
|
||||||
maxReplicas: 10
|
maxReplicas: 10
|
||||||
scaleTargetRef:
|
scaleTargetRef:
|
||||||
type: RunnerDeployment
|
kind: RunnerDeployment
|
||||||
# # In case the scale target is RunnerSet:
|
# # In case the scale target is RunnerSet:
|
||||||
# kind: RunnerSet
|
# kind: RunnerSet
|
||||||
name: example-runners
|
name: example-runners
|
||||||
|
|
@ -951,7 +951,7 @@ spec:
|
||||||
minReplicas: 1
|
minReplicas: 1
|
||||||
maxReplicas: 10
|
maxReplicas: 10
|
||||||
scaleTargetRef:
|
scaleTargetRef:
|
||||||
type: RunnerDeployment
|
kind: RunnerDeployment
|
||||||
# # In case the scale target is RunnerSet:
|
# # In case the scale target is RunnerSet:
|
||||||
# kind: RunnerSet
|
# kind: RunnerSet
|
||||||
name: example-runners
|
name: example-runners
|
||||||
|
|
@ -980,7 +980,7 @@ spec:
|
||||||
minReplicas: 1
|
minReplicas: 1
|
||||||
maxReplicas: 10
|
maxReplicas: 10
|
||||||
scaleTargetRef:
|
scaleTargetRef:
|
||||||
type: RunnerDeployment
|
kind: RunnerDeployment
|
||||||
# # In case the scale target is RunnerSet:
|
# # In case the scale target is RunnerSet:
|
||||||
# kind: RunnerSet
|
# kind: RunnerSet
|
||||||
name: example-runners
|
name: example-runners
|
||||||
|
|
@ -1013,7 +1013,7 @@ spec:
|
||||||
minReplicas: 1
|
minReplicas: 1
|
||||||
maxReplicas: 10
|
maxReplicas: 10
|
||||||
scaleTargetRef:
|
scaleTargetRef:
|
||||||
type: RunnerDeployment
|
kind: RunnerDeployment
|
||||||
# # In case the scale target is RunnerSet:
|
# # In case the scale target is RunnerSet:
|
||||||
# kind: RunnerSet
|
# kind: RunnerSet
|
||||||
name: example-runners
|
name: example-runners
|
||||||
|
|
@ -1044,7 +1044,7 @@ spec:
|
||||||
minReplicas: 1
|
minReplicas: 1
|
||||||
maxReplicas: 10
|
maxReplicas: 10
|
||||||
scaleTargetRef:
|
scaleTargetRef:
|
||||||
type: RunnerDeployment
|
kind: RunnerDeployment
|
||||||
# # In case the scale target is RunnerSet:
|
# # In case the scale target is RunnerSet:
|
||||||
# kind: RunnerSet
|
# kind: RunnerSet
|
||||||
name: example-runners
|
name: example-runners
|
||||||
|
|
@ -1092,7 +1092,7 @@ metadata:
|
||||||
name: example-runner-deployment-autoscaler
|
name: example-runner-deployment-autoscaler
|
||||||
spec:
|
spec:
|
||||||
scaleTargetRef:
|
scaleTargetRef:
|
||||||
type: RunnerDeployment
|
kind: RunnerDeployment
|
||||||
# # In case the scale target is RunnerSet:
|
# # In case the scale target is RunnerSet:
|
||||||
# kind: RunnerSet
|
# kind: RunnerSet
|
||||||
name: example-runner-deployment
|
name: example-runner-deployment
|
||||||
|
|
@ -1115,7 +1115,7 @@ metadata:
|
||||||
name: example-runner-deployment-autoscaler
|
name: example-runner-deployment-autoscaler
|
||||||
spec:
|
spec:
|
||||||
scaleTargetRef:
|
scaleTargetRef:
|
||||||
type: RunnerDeployment
|
kind: RunnerDeployment
|
||||||
# # In case the scale target is RunnerSet:
|
# # In case the scale target is RunnerSet:
|
||||||
# kind: RunnerSet
|
# kind: RunnerSet
|
||||||
name: example-runner-deployment
|
name: example-runner-deployment
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue