From 42493d5e0176dc9ac03ae9549f86808c7bd9d01e Mon Sep 17 00:00:00 2001 From: Johannes Nicolai Date: Fri, 22 Jan 2021 02:12:04 +0100 Subject: [PATCH] Adding --name-space parameter in example (#259) * when setting a GitHub Enterprise server URL without a namespace, an error occurs: "error: the server doesn't have a resource type "controller-manager" * setting default namespace "actions-runner-system" makes the example work out of the box --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 9743ffb9..ba44e118 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ kubectl apply -f https://github.com/summerwind/actions-runner-controller/release If you use either Github Enterprise Cloud or Server (and have recent enought version supporting Actions), you can use **actions-runner-controller** with those, too. Authentication works same way as with public Github (repo and organization level). ```shell -kubectl set env deploy controller-manager -c manager GITHUB_ENTERPRISE_URL= +kubectl set env deploy controller-manager -c manager GITHUB_ENTERPRISE_URL= --namespace actions-runner-system ``` [Enterprise level](https://docs.github.com/en/enterprise-server@2.22/actions/hosting-your-own-runners/adding-self-hosted-runners#adding-a-self-hosted-runner-to-an-enterprise) runners are not working yet as there's no API definition for those.