Update examples of RunnerDeployment in README.md (#913)

The README had some examples of RunnerDeployment with wrong/outdated
spec.

This caused some pain when trying to create them based on the examples.

=> Fixed using the spec declared in: api/v1alpha1/runner_types.go
This commit is contained in:
Huu Khiem (Mark) 2021-10-28 02:12:48 -07:00 committed by GitHub
parent 49566aaebd
commit c33578a041
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 12 additions and 4 deletions

View File

@ -575,7 +575,9 @@ kind: RunnerDeployment
metadata:
name: example-runners
spec:
repository: example/myrepo
template:
spec:
repository: example/myrepo
---
kind: HorizontalRunnerAutoscaler
spec:
@ -601,7 +603,9 @@ kind: RunnerDeployment
metadata:
name: example-runners
spec:
repository: example/myrepo
template:
spec:
repository: example/myrepo
---
kind: HorizontalRunnerAutoscaler
spec:
@ -623,7 +627,9 @@ kind: RunnerDeployment
metadata:
name: example-runners
spec:
organization: myorg
template:
spec:
organization: myorg
---
kind: HorizontalRunnerAutoscaler
spec:
@ -649,7 +655,9 @@ kind: RunnerDeployment
metadata:
name: example-runners
spec:
repository: example/myrepo
template:
spec:
repository: example/myrepo
---
kind: HorizontalRunnerAutoscaler
spec: