From c33578a041ecbb9a5823c30aaf3893263151ccf0 Mon Sep 17 00:00:00 2001 From: "Huu Khiem (Mark)" Date: Thu, 28 Oct 2021 02:12:48 -0700 Subject: [PATCH] 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 --- README.md | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 6846b3a3..b198d64a 100644 --- a/README.md +++ b/README.md @@ -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: