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
|
|
@ -574,6 +574,8 @@ This webhook should cover most people's needs, please experiment with this webho
|
|||
kind: RunnerDeployment
|
||||
metadata:
|
||||
name: example-runners
|
||||
spec:
|
||||
template:
|
||||
spec:
|
||||
repository: example/myrepo
|
||||
---
|
||||
|
|
@ -600,6 +602,8 @@ To scale up replicas of the runners for `example/myrepo` by 1 for 5 minutes on e
|
|||
kind: RunnerDeployment
|
||||
metadata:
|
||||
name: example-runners
|
||||
spec:
|
||||
template:
|
||||
spec:
|
||||
repository: example/myrepo
|
||||
---
|
||||
|
|
@ -622,6 +626,8 @@ To scale up replicas of the runners for `myorg` organization by 1 for 5 minutes
|
|||
kind: RunnerDeployment
|
||||
metadata:
|
||||
name: example-runners
|
||||
spec:
|
||||
template:
|
||||
spec:
|
||||
organization: myorg
|
||||
---
|
||||
|
|
@ -648,6 +654,8 @@ To scale up replicas of the runners for `example/myrepo` by 1 for 5 minutes on e
|
|||
kind: RunnerDeployment
|
||||
metadata:
|
||||
name: example-runners
|
||||
spec:
|
||||
template:
|
||||
spec:
|
||||
repository: example/myrepo
|
||||
---
|
||||
|
|
|
|||
Loading…
Reference in New Issue