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:
parent
49566aaebd
commit
c33578a041
|
|
@ -575,6 +575,8 @@ kind: RunnerDeployment
|
||||||
metadata:
|
metadata:
|
||||||
name: example-runners
|
name: example-runners
|
||||||
spec:
|
spec:
|
||||||
|
template:
|
||||||
|
spec:
|
||||||
repository: example/myrepo
|
repository: example/myrepo
|
||||||
---
|
---
|
||||||
kind: HorizontalRunnerAutoscaler
|
kind: HorizontalRunnerAutoscaler
|
||||||
|
|
@ -601,6 +603,8 @@ kind: RunnerDeployment
|
||||||
metadata:
|
metadata:
|
||||||
name: example-runners
|
name: example-runners
|
||||||
spec:
|
spec:
|
||||||
|
template:
|
||||||
|
spec:
|
||||||
repository: example/myrepo
|
repository: example/myrepo
|
||||||
---
|
---
|
||||||
kind: HorizontalRunnerAutoscaler
|
kind: HorizontalRunnerAutoscaler
|
||||||
|
|
@ -623,6 +627,8 @@ kind: RunnerDeployment
|
||||||
metadata:
|
metadata:
|
||||||
name: example-runners
|
name: example-runners
|
||||||
spec:
|
spec:
|
||||||
|
template:
|
||||||
|
spec:
|
||||||
organization: myorg
|
organization: myorg
|
||||||
---
|
---
|
||||||
kind: HorizontalRunnerAutoscaler
|
kind: HorizontalRunnerAutoscaler
|
||||||
|
|
@ -649,6 +655,8 @@ kind: RunnerDeployment
|
||||||
metadata:
|
metadata:
|
||||||
name: example-runners
|
name: example-runners
|
||||||
spec:
|
spec:
|
||||||
|
template:
|
||||||
|
spec:
|
||||||
repository: example/myrepo
|
repository: example/myrepo
|
||||||
---
|
---
|
||||||
kind: HorizontalRunnerAutoscaler
|
kind: HorizontalRunnerAutoscaler
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue