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

View File

@@ -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
---