mirror of
https://github.com/actions/actions-runner-controller.git
synced 2025-12-12 20:46:47 +00:00
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:
@@ -574,6 +574,8 @@ This webhook should cover most people's needs, please experiment with this webho
|
|||||||
kind: RunnerDeployment
|
kind: RunnerDeployment
|
||||||
metadata:
|
metadata:
|
||||||
name: example-runners
|
name: example-runners
|
||||||
|
spec:
|
||||||
|
template:
|
||||||
spec:
|
spec:
|
||||||
repository: example/myrepo
|
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
|
kind: RunnerDeployment
|
||||||
metadata:
|
metadata:
|
||||||
name: example-runners
|
name: example-runners
|
||||||
|
spec:
|
||||||
|
template:
|
||||||
spec:
|
spec:
|
||||||
repository: example/myrepo
|
repository: example/myrepo
|
||||||
---
|
---
|
||||||
@@ -622,6 +626,8 @@ To scale up replicas of the runners for `myorg` organization by 1 for 5 minutes
|
|||||||
kind: RunnerDeployment
|
kind: RunnerDeployment
|
||||||
metadata:
|
metadata:
|
||||||
name: example-runners
|
name: example-runners
|
||||||
|
spec:
|
||||||
|
template:
|
||||||
spec:
|
spec:
|
||||||
organization: myorg
|
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
|
kind: RunnerDeployment
|
||||||
metadata:
|
metadata:
|
||||||
name: example-runners
|
name: example-runners
|
||||||
|
spec:
|
||||||
|
template:
|
||||||
spec:
|
spec:
|
||||||
repository: example/myrepo
|
repository: example/myrepo
|
||||||
---
|
---
|
||||||
|
|||||||
Reference in New Issue
Block a user