Trying this at GHEC GitHub Enterprise Cloud, have successfully done this on GitHub.com several time but for GHEC facing this issue !!!
At the time of deploying the runner.yaml file, for deploying the runner getting this error,
error: no kind "Runner" is registered for version "actions.summerwind.dev/v1alpha1" in scheme "pkg/scheme/scheme.go:28"
$ kubectl logs actions-runner-controller-64c7fb9d64-zzfd7 -n actions-runner-system
Defaulted container "manager" out of: manager, kube-rbac-proxy
2022-07-13T04:59:53Z INFO controller-runtime.metrics Metrics server is starting to listen {"addr": "127.0.0.1:8080"}
2022-07-13T04:59:53Z INFO actions-runner-controller Initializing actions-runner-controller {"github-api-cache-duration": "50s", "default-scale-down-delay": "10m0s", "sync-period": "1m0s", "default-runner-image": "summerwind/actions-runner:latest", "default-docker-image": "docker:dind", "common-runnner-labels": null, "leader-election-enabled": true, "leader-election-id": "actions-runner-controller", "watch-namespace": ""}
2022-07-13T04:59:53Z INFO controller-runtime.builder Registering a mutating webhook {"GVK": "actions.summerwind.dev/v1alpha1, Kind=Runner", "path": "/mutate-actions-summerwind-dev-v1alpha1-runner"}
2022-07-13T04:59:53Z INFO controller-runtime.webhook Registering webhook {"path": "/mutate-actions-summerwind-dev-v1alpha1-runner"}
2022-07-13T04:59:53Z INFO controller-runtime.builder Registering a validating webhook {"GVK": "actions.summerwind.dev/v1alpha1, Kind=Runner", "path": "/validate-actions-summerwind-dev-v1alpha1-runner"}
2022-07-13T04:59:53Z INFO controller-runtime.webhook Registering webhook {"path": "/validate-actions-summerwind-dev-v1alpha1-runner"}
2022-07-13T04:59:53Z INFO controller-runtime.builder Registering a mutating webhook {"GVK": "actions.summerwind.dev/v1alpha1, Kind=RunnerDeployment", "path": "/mutate-actions-summerwind-dev-v1alpha1-runnerdeployment"}
2022-07-13T04:59:53Z INFO controller-runtime.webhook Registering webhook {"path": "/mutate-actions-summerwind-dev-v1alpha1-runnerdeployment"}
2022-07-13T04:59:53Z INFO controller-runtime.builder Registering a validating webhook {"GVK": "actions.summerwind.dev/v1alpha1, Kind=RunnerDeployment", "path": "/validate-actions-summerwind-dev-v1alpha1-runnerdeployment"}
2022-07-13T04:59:53Z INFO controller-runtime.webhook Registering webhook {"path": "/validate-actions-summerwind-dev-v1alpha1-runnerdeployment"}
2022-07-13T04:59:53Z INFO controller-runtime.builder Registering a mutating webhook {"GVK": "actions.summerwind.dev/v1alpha1, Kind=RunnerReplicaSet", "path": "/mutate-actions-summerwind-dev-v1alpha1-runnerreplicaset"}
2022-07-13T04:59:53Z INFO controller-runtime.webhook Registering webhook {"path": "/mutate-actions-summerwind-dev-v1alpha1-runnerreplicaset"}
2022-07-13T04:59:53Z INFO controller-runtime.builder Registering a validating webhook {"GVK": "actions.summerwind.dev/v1alpha1, Kind=RunnerReplicaSet", "path": "/validate-actions-summerwind-dev-v1alpha1-runnerreplicaset"}
2022-07-13T04:59:53Z INFO controller-runtime.webhook Registering webhook {"path": "/validate-actions-summerwind-dev-v1alpha1-runnerreplicaset"}
2022-07-13T04:59:53Z INFO controller-runtime.webhook Registering webhook {"path": "/mutate-runner-set-pod"}
2022-07-13T04:59:53Z INFO actions-runner-controller starting manager
2022-07-13T04:59:53Z INFO controller-runtime.webhook.webhooks Starting webhook server
2022-07-13T04:59:53Z INFO controller-runtime.certwatcher Updated current TLS certificate
2022-07-13T04:59:53Z INFO controller-runtime.webhook Serving webhook server {"host": "", "port": 9443}
2022-07-13T04:59:53Z INFO Starting server {"path": "/metrics", "kind": "metrics", "addr": "127.0.0.1:8080"}
2022-07-13T04:59:53Z INFO controller-runtime.certwatcher Starting certificate watcher
I0713 04:59:53.220453 1 leaderelection.go:248] attempting to acquire leader lease actions-runner-system/actions-runner-controller...
I0713 04:59:53.230669 1 leaderelection.go:258] successfully acquired lease actions-runner-system/actions-runner-controller
2022-07-13T04:59:53Z INFO Starting EventSource {"controller": "runner-controller", "controllerGroup": "actions.summerwind.dev", "controllerKind": "Runner", "source": "kind source: *v1alpha1.Runner"}
2022-07-13T04:59:53Z INFO Starting EventSource {"controller": "runner-controller", "controllerGroup": "actions.summerwind.dev", "controllerKind": "Runner", "source": "kind source: *v1.Pod"}
2022-07-13T04:59:53Z INFO Starting Controller {"controller": "runner-controller", "controllerGroup": "actions.summerwind.dev", "controllerKind": "Runner"}
2022-07-13T04:59:53Z DEBUG events Normal {"object": {"kind":"Lease","namespace":"actions-runner-system","name":"actions-runner-controller","uid":"2a7be5af-179b-4406-bc7b-22f23b8a7fbe","apiVersion":"coordination.k8s.io/v1","resourceVersion":"4705"}, "reason": "LeaderElection", "message": "actions-runner-controller-64c7fb9d64-zzfd7_0506ebe8-fcfa-4188-9cf7-1eac8cc30d08 became leader"}
2022-07-13T04:59:53Z INFO Starting EventSource {"controller": "runnerdeployment-controller", "controllerGroup": "actions.summerwind.dev", "controllerKind": "RunnerDeployment", "source": "kind source: *v1alpha1.RunnerDeployment"}
2022-07-13T04:59:53Z INFO Starting EventSource {"controller": "runnerdeployment-controller", "controllerGroup": "actions.summerwind.dev", "controllerKind": "RunnerDeployment", "source": "kind source: *v1alpha1.RunnerReplicaSet"}
2022-07-13T04:59:53Z INFO Starting Controller {"controller": "runnerdeployment-controller", "controllerGroup": "actions.summerwind.dev", "controllerKind": "RunnerDeployment"}
2022-07-13T04:59:53Z INFO Starting EventSource {"controller": "runnerreplicaset-controller", "controllerGroup": "actions.summerwind.dev", "controllerKind": "RunnerReplicaSet", "source": "kind source: *v1alpha1.RunnerReplicaSet"}
2022-07-13T04:59:53Z INFO Starting EventSource {"controller": "runnerreplicaset-controller", "controllerGroup": "actions.summerwind.dev", "controllerKind": "RunnerReplicaSet", "source": "kind source: *v1alpha1.Runner"}
2022-07-13T04:59:53Z INFO Starting Controller {"controller": "runnerreplicaset-controller", "controllerGroup": "actions.summerwind.dev", "controllerKind": "RunnerReplicaSet"}
2022-07-13T04:59:53Z INFO Starting EventSource {"controller": "runnerpod-controller", "controllerGroup": "", "controllerKind": "Pod", "source": "kind source: *v1.Pod"}
2022-07-13T04:59:53Z INFO Starting Controller {"controller": "runnerpod-controller", "controllerGroup": "", "controllerKind": "Pod"}
2022-07-13T04:59:53Z INFO Starting EventSource {"controller": "runnerset-controller", "controllerGroup": "actions.summerwind.dev", "controllerKind": "RunnerSet", "source": "kind source: *v1alpha1.RunnerSet"}
2022-07-13T04:59:53Z INFO Starting EventSource {"controller": "runnerset-controller", "controllerGroup": "actions.summerwind.dev", "controllerKind": "RunnerSet", "source": "kind source: *v1.StatefulSet"}
2022-07-13T04:59:53Z INFO Starting Controller {"controller": "runnerset-controller", "controllerGroup": "actions.summerwind.dev", "controllerKind": "RunnerSet"}
2022-07-13T04:59:53Z INFO Starting EventSource {"controller": "runnerpersistentvolume-controller", "controllerGroup": "", "controllerKind": "PersistentVolume", "source": "kind source: *v1.PersistentVolume"}
2022-07-13T04:59:53Z INFO Starting Controller {"controller": "runnerpersistentvolume-controller", "controllerGroup": "", "controllerKind": "PersistentVolume"}
2022-07-13T04:59:53Z INFO Starting EventSource {"controller": "horizontalrunnerautoscaler-controller", "controllerGroup": "actions.summerwind.dev", "controllerKind": "HorizontalRunnerAutoscaler", "source": "kind source: *v1alpha1.HorizontalRunnerAutoscaler"}
2022-07-13T04:59:53Z INFO Starting Controller {"controller": "horizontalrunnerautoscaler-controller", "controllerGroup": "actions.summerwind.dev", "controllerKind": "HorizontalRunnerAutoscaler"}
2022-07-13T04:59:53Z INFO Starting EventSource {"controller": "runnerpersistentvolumeclaim-controller", "controllerGroup": "", "controllerKind": "PersistentVolumeClaim", "source": "kind source: *v1.PersistentVolumeClaim"}
2022-07-13T04:59:53Z INFO Starting Controller {"controller": "runnerpersistentvolumeclaim-controller", "controllerGroup": "", "controllerKind": "PersistentVolumeClaim"}
2022-07-13T04:59:53Z INFO Starting workers {"controller": "runnerpersistentvolumeclaim-controller", "controllerGroup": "", "controllerKind": "PersistentVolumeClaim", "worker count": 1}
2022-07-13T04:59:53Z INFO Starting workers {"controller": "runnerdeployment-controller", "controllerGroup": "actions.summerwind.dev", "controllerKind": "RunnerDeployment", "worker count": 1}
2022-07-13T04:59:53Z INFO Starting workers {"controller": "runner-controller", "controllerGroup": "actions.summerwind.dev", "controllerKind": "Runner", "worker count": 1}
2022-07-13T04:59:53Z INFO Starting workers {"controller": "runnerreplicaset-controller", "controllerGroup": "actions.summerwind.dev", "controllerKind": "RunnerReplicaSet", "worker count": 1}
2022-07-13T04:59:53Z INFO Starting workers {"controller": "horizontalrunnerautoscaler-controller", "controllerGroup": "actions.summerwind.dev", "controllerKind": "HorizontalRunnerAutoscaler", "worker count": 1}
2022-07-13T04:59:53Z INFO Starting workers {"controller": "runnerpod-controller", "controllerGroup": "", "controllerKind": "Pod", "worker count": 1}
2022-07-13T04:59:53Z INFO Starting workers {"controller": "runnerset-controller", "controllerGroup": "actions.summerwind.dev", "controllerKind": "RunnerSet", "worker count": 1}
2022-07-13T04:59:53Z INFO Starting workers {"controller": "runnerpersistentvolume-controller", "controllerGroup": "", "controllerKind": "PersistentVolume", "worker count": 1}
2022-07-13T05:03:16Z DEBUG controller-runtime.webhook.webhooks received request {"webhook": "/mutate-actions-summerwind-dev-v1alpha1-runner", "UID": "99ff6855-4414-438e-90c0-30c1a9e4b262", "kind": "actions.summerwind.dev/v1alpha1, Kind=Runner", "resource": {"group":"actions.summerwind.dev","version":"v1alpha1","resource":"runners"}}
2022-07-13T05:03:16Z DEBUG controller-runtime.webhook.webhooks wrote response {"webhook": "/mutate-actions-summerwind-dev-v1alpha1-runner", "code": 200, "reason": "", "UID": "99ff6855-4414-438e-90c0-30c1a9e4b262", "allowed": true}
2022-07-13T05:03:16Z DEBUG controller-runtime.webhook.webhooks received request {"webhook": "/validate-actions-summerwind-dev-v1alpha1-runner", "UID": "37dca13e-9479-45f7-8a0c-4d691ec409e4", "kind": "actions.summerwind.dev/v1alpha1, Kind=Runner", "resource": {"group":"actions.summerwind.dev","version":"v1alpha1","resource":"runners"}}
2022-07-13T05:03:16Z INFO runner-resource validate resource to be created {"name": "example-runner"}
2022-07-13T05:03:16Z DEBUG controller-runtime.webhook.webhooks wrote response {"webhook": "/validate-actions-summerwind-dev-v1alpha1-runner", "code": 200, "reason": "", "UID": "37dca13e-9479-45f7-8a0c-4d691ec409e4", "allowed": true}
2022-07-13T05:03:16Z DEBUG controller-runtime.webhook.webhooks received request {"webhook": "/mutate-actions-summerwind-dev-v1alpha1-runner", "UID": "1bf2717a-455e-4d26-a7d0-c02c5f38eaa5", "kind": "actions.summerwind.dev/v1alpha1, Kind=Runner", "resource": {"group":"actions.summerwind.dev","version":"v1alpha1","resource":"runners"}}
2022-07-13T05:03:16Z DEBUG controller-runtime.webhook.webhooks wrote response {"webhook": "/mutate-actions-summerwind-dev-v1alpha1-runner", "code": 200, "reason": "", "UID": "1bf2717a-455e-4d26-a7d0-c02c5f38eaa5", "allowed": true}
2022-07-13T05:03:16Z DEBUG controller-runtime.webhook.webhooks received request {"webhook": "/validate-actions-summerwind-dev-v1alpha1-runner", "UID": "73f9bce8-4b7f-4f49-bb6b-664d3c0b0c74", "kind": "actions.summerwind.dev/v1alpha1, Kind=Runner", "resource": {"group":"actions.summerwind.dev","version":"v1alpha1","resource":"runners"}}
2022-07-13T05:03:16Z INFO runner-resource validate resource to be updated {"name": "example-runner"}
2022-07-13T05:03:16Z DEBUG controller-runtime.webhook.webhooks wrote response {"webhook": "/validate-actions-summerwind-dev-v1alpha1-runner", "code": 200, "reason": "", "UID": "73f9bce8-4b7f-4f49-bb6b-664d3c0b0c74", "allowed": true}
2022-07-13T05:03:16Z ERROR actions-runner-controller.runner Failed to get new registration token {"runner": "example-runner", "error": "failed to create registration token: Post \"https://api.github.com/orgs/kunalorg/actions/runners/registration-token\": could not refresh installation id 1's token: received non 2xx response status \"401 Unauthorized\" when fetching https://api.github.com/app/installations/1/access_tokens"}
github.com/actions-runner-controller/actions-runner-controller/controllers.(*RunnerReconciler).processRunnerCreation
/workspace/controllers/runner_controller.go:247
github.com/actions-runner-controller/actions-runner-controller/controllers.(*RunnerReconciler).Reconcile
/workspace/controllers/runner_controller.go:128
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Reconcile
/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.12.2/pkg/internal/controller/controller.go:121
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler
/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.12.2/pkg/internal/controller/controller.go:320
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.12.2/pkg/internal/controller/controller.go:273
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2
/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.12.2/pkg/internal/controller/controller.go:234
2022-07-13T05:03:16Z DEBUG events Warning {"object": {"kind":"Runner","namespace":"default","name":"example-runner","uid":"eada48cc-95f3-4455-a48b-c5ae17262f48","apiVersion":"actions.summerwind.dev/v1alpha1","resourceVersion":"5618"}, "reason": "FailedUpdateRegistrationToken", "message": "Updating registration token failed"}
2022-07-13T05:03:33Z ERROR actions-runner-controller.runner Failed to get new registration token {"runner": "example-runner", "error": "failed to create registration token: Post \"https://api.github.com/orgs/kunalorg/actions/runners/registration-token\": could not refresh installation id 1's token: received non 2xx response status \"401 Unauthorized\" when fetching https://api.github.com/app/installations/1/access_tokens"}
github.com/actions-runner-controller/actions-runner-controller/controllers.(*RunnerReconciler).processRunnerCreation
/workspace/controllers/runner_controller.go:247
github.com/actions-runner-controller/actions-runner-controller/controllers.(*RunnerReconciler).Reconcile
/workspace/controllers/runner_controller.go:128
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Reconcile
/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.12.2/pkg/internal/controller/controller.go:121
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler
/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.12.2/pkg/internal/controller/controller.go:320
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.12.2/pkg/internal/controller/controller.go:273
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2
/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.12.2/pkg/internal/controller/controller.go:234
2022-07-13T05:03:33Z DEBUG events Warning {"object": {"kind":"Runner","namespace":"default","name":"example-runner","uid":"eada48cc-95f3-4455-a48b-c5ae17262f48","apiVersion":"actions.summerwind.dev/v1alpha1","resourceVersion":"5618"}, "reason": "FailedUpdateRegistrationToken", "message": "Updating registration token failed"}
2022-07-13T05:04:28Z ERROR actions-runner-controller.runner Failed to get new registration token {"runner": "example-runner", "error": "failed to create registration token: Post \"https://api.github.com/orgs/kunalorg/actions/runners/registration-token\": could not refresh installation id 1's token: received non 2xx response status \"401 Unauthorized\" when fetching https://api.github.com/app/installations/1/access_tokens"}
github.com/actions-runner-controller/actions-runner-controller/controllers.(*RunnerReconciler).processRunnerCreation
/workspace/controllers/runner_controller.go:247
github.com/actions-runner-controller/actions-runner-controller/controllers.(*RunnerReconciler).Reconcile
/workspace/controllers/runner_controller.go:128
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Reconcile
/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.12.2/pkg/internal/controller/controller.go:121
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler
/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.12.2/pkg/internal/controller/controller.go:320
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.12.2/pkg/internal/controller/controller.go:273
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2
/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.12.2/pkg/internal/controller/controller.go:234
2022-07-13T05:04:28Z DEBUG events Warning {"object": {"kind":"Runner","namespace":"default","name":"example-runner","uid":"eada48cc-95f3-4455-a48b-c5ae17262f48","apiVersion":"actions.summerwind.dev/v1alpha1","resourceVersion":"5618"}, "reason": "FailedUpdateRegistrationToken", "message": "Updating registration token failed"}
2022-07-13T05:05:24Z ERROR actions-runner-controller.runner Failed to get new registration token {"runner": "example-runner", "error": "failed to create registration token: Post \"https://api.github.com/orgs/kunalorg/actions/runners/registration-token\": could not refresh installation id 1's token: received non 2xx response status \"401 Unauthorized\" when fetching https://api.github.com/app/installations/1/access_tokens"}
github.com/actions-runner-controller/actions-runner-controller/controllers.(*RunnerReconciler).processRunnerCreation
/workspace/controllers/runner_controller.go:247
github.com/actions-runner-controller/actions-runner-controller/controllers.(*RunnerReconciler).Reconcile
/workspace/controllers/runner_controller.go:128
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Reconcile
/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.12.2/pkg/internal/controller/controller.go:121
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler
/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.12.2/pkg/internal/controller/controller.go:320
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.12.2/pkg/internal/controller/controller.go:273
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2
/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.12.2/pkg/internal/controller/controller.go:234
2022-07-13T05:05:24Z DEBUG events Warning {"object": {"kind":"Runner","namespace":"default","name":"example-runner","uid":"eada48cc-95f3-4455-a48b-c5ae17262f48","apiVersion":"actions.summerwind.dev/v1alpha1","resourceVersion":"5618"}, "reason": "FailedUpdateRegistrationToken", "message": "Updating registration token failed"}
2022-07-13T05:06:16Z ERROR actions-runner-controller.runner Failed to get new registration token {"runner": "example-runner", "error": "failed to create registration token: Post \"https://api.github.com/orgs/kunalorg/actions/runners/registration-token\": could not refresh installation id 1's token: received non 2xx response status \"401 Unauthorized\" when fetching https://api.github.com/app/installations/1/access_tokens"}
github.com/actions-runner-controller/actions-runner-controller/controllers.(*RunnerReconciler).processRunnerCreation
/workspace/controllers/runner_controller.go:247
github.com/actions-runner-controller/actions-runner-controller/controllers.(*RunnerReconciler).Reconcile
/workspace/controllers/runner_controller.go:128
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Reconcile
/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.12.2/pkg/internal/controller/controller.go:121
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler
/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.12.2/pkg/internal/controller/controller.go:320
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.12.2/pkg/internal/controller/controller.go:273
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2
/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.12.2/pkg/internal/controller/controller.go:234
2022-07-13T05:06:16Z DEBUG events Warning {"object": {"kind":"Runner","namespace":"default","name":"example-runner","uid":"eada48cc-95f3-4455-a48b-c5ae17262f48","apiVersion":"actions.summerwind.dev/v1alpha1","resourceVersion":"5618"}, "reason": "FailedUpdateRegistrationToken", "message": "Updating registration token failed"}
2022-07-13T05:06:19Z ERROR actions-runner-controller.runner Failed to get new registration token {"runner": "example-runner", "error": "failed to create registration token: Post \"https://api.github.com/orgs/kunalorg/actions/runners/registration-token\": could not refresh installation id 1's token: received non 2xx response status \"401 Unauthorized\" when fetching https://api.github.com/app/installations/1/access_tokens"}
github.com/actions-runner-controller/actions-runner-controller/controllers.(*RunnerReconciler).processRunnerCreation
/workspace/controllers/runner_controller.go:247
github.com/actions-runner-controller/actions-runner-controller/controllers.(*RunnerReconciler).Reconcile
/workspace/controllers/runner_controller.go:128
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Reconcile
/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.12.2/pkg/internal/controller/controller.go:121
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler
/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.12.2/pkg/internal/controller/controller.go:320
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.12.2/pkg/internal/controller/controller.go:273
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2
/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.12.2/pkg/internal/controller/controller.go:234
2022-07-13T05:06:19Z DEBUG events Warning {"object": {"kind":"Runner","namespace":"default","name":"example-runner","uid":"eada48cc-95f3-4455-a48b-c5ae17262f48","apiVersion":"actions.summerwind.dev/v1alpha1","resourceVersion":"5618"}, "reason": "FailedUpdateRegistrationToken", "message": "Updating registration token failed"}
2022-07-13T05:07:14Z ERROR actions-runner-controller.runner Failed to get new registration token {"runner": "example-runner", "error": "failed to create registration token: Post \"https://api.github.com/orgs/kunalorg/actions/runners/registration-token\": could not refresh installation id 1's token: received non 2xx response status \"401 Unauthorized\" when fetching https://api.github.com/app/installations/1/access_tokens"}
github.com/actions-runner-controller/actions-runner-controller/controllers.(*RunnerReconciler).processRunnerCreation
/workspace/controllers/runner_controller.go:247
github.com/actions-runner-controller/actions-runner-controller/controllers.(*RunnerReconciler).Reconcile
/workspace/controllers/runner_controller.go:128
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Reconcile
/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.12.2/pkg/internal/controller/controller.go:121
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler
/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.12.2/pkg/internal/controller/controller.go:320
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.12.2/pkg/internal/controller/controller.go:273
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2
/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.12.2/pkg/internal/controller/controller.go:234
2022-07-13T05:07:14Z DEBUG events Warning {"object": {"kind":"Runner","namespace":"default","name":"example-runner","uid":"eada48cc-95f3-4455-a48b-c5ae17262f48","apiVersion":"actions.summerwind.dev/v1alpha1","resourceVersion":"5618"}, "reason": "FailedUpdateRegistrationToken", "message": "Updating registration token failed"}
2022-07-13T05:08:09Z ERROR actions-runner-controller.runner Failed to get new registration token {"runner": "example-runner", "error": "failed to create registration token: Post \"https://api.github.com/orgs/kunalorg/actions/runners/registration-token\": could not refresh installation id 1's token: received non 2xx response status \"401 Unauthorized\" when fetching https://api.github.com/app/installations/1/access_tokens"}
github.com/actions-runner-controller/actions-runner-controller/controllers.(*RunnerReconciler).processRunnerCreation
/workspace/controllers/runner_controller.go:247
github.com/actions-runner-controller/actions-runner-controller/controllers.(*RunnerReconciler).Reconcile
/workspace/controllers/runner_controller.go:128
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Reconcile
/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.12.2/pkg/internal/controller/controller.go:121
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler
/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.12.2/pkg/internal/controller/controller.go:320
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.12.2/pkg/internal/controller/controller.go:273
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2
/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.12.2/pkg/internal/controller/controller.go:234
2022-07-13T05:08:09Z DEBUG events Warning {"object": {"kind":"Runner","namespace":"default","name":"example-runner","uid":"eada48cc-95f3-4455-a48b-c5ae17262f48","apiVersion":"actions.summerwind.dev/v1alpha1","resourceVersion":"5618"}, "reason": "FailedUpdateRegistrationToken", "message": "Updating registration token failed"}
2022-07-13T05:09:04Z ERROR actions-runner-controller.runner Failed to get new registration token {"runner": "example-runner", "error": "failed to create registration token: Post \"https://api.github.com/orgs/kunalorg/actions/runners/registration-token\": could not refresh installation id 1's token: received non 2xx response status \"401 Unauthorized\" when fetching https://api.github.com/app/installations/1/access_tokens"}
github.com/actions-runner-controller/actions-runner-controller/controllers.(*RunnerReconciler).processRunnerCreation
/workspace/controllers/runner_controller.go:247
github.com/actions-runner-controller/actions-runner-controller/controllers.(*RunnerReconciler).Reconcile
/workspace/controllers/runner_controller.go:128
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Reconcile
/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.12.2/pkg/internal/controller/controller.go:121
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler
/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.12.2/pkg/internal/controller/controller.go:320
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.12.2/pkg/internal/controller/controller.go:273
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2
/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.12.2/pkg/internal/controller/controller.go:234
2022-07-13T05:09:04Z DEBUG events Warning {"object": {"kind":"Runner","namespace":"default","name":"example-runner","uid":"eada48cc-95f3-4455-a48b-c5ae17262f48","apiVersion":"actions.summerwind.dev/v1alpha1","resourceVersion":"5618"}, "reason": "FailedUpdateRegistrationToken", "message": "Updating registration token failed"}
2022-07-13T05:09:16Z ERROR actions-runner-controller.runner Failed to get new registration token {"runner": "example-runner", "error": "failed to create registration token: Post \"https://api.github.com/orgs/kunalorg/actions/runners/registration-token\": could not refresh installation id 1's token: received non 2xx response status \"401 Unauthorized\" when fetching https://api.github.com/app/installations/1/access_tokens"}
github.com/actions-runner-controller/actions-runner-controller/controllers.(*RunnerReconciler).processRunnerCreation
/workspace/controllers/runner_controller.go:247
github.com/actions-runner-controller/actions-runner-controller/controllers.(*RunnerReconciler).Reconcile
/workspace/controllers/runner_controller.go:128
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Reconcile
/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.12.2/pkg/internal/controller/controller.go:121
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler
/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.12.2/pkg/internal/controller/controller.go:320
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.12.2/pkg/internal/controller/controller.go:273
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2
/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.12.2/pkg/internal/controller/controller.go:234
2022-07-13T05:09:16Z DEBUG events Warning {"object": {"kind":"Runner","namespace":"default","name":"example-runner","uid":"eada48cc-95f3-4455-a48b-c5ae17262f48","apiVersion":"actions.summerwind.dev/v1alpha1","resourceVersion":"5618"}, "reason": "FailedUpdateRegistrationToken", "message": "Updating registration token failed"}
2022-07-13T05:09:59Z ERROR actions-runner-controller.runner Failed to get new registration token {"runner": "example-runner", "error": "failed to create registration token: Post \"https://api.github.com/orgs/kunalorg/actions/runners/registration-token\": could not refresh installation id 1's token: received non 2xx response status \"401 Unauthorized\" when fetching https://api.github.com/app/installations/1/access_tokens"}
github.com/actions-runner-controller/actions-runner-controller/controllers.(*RunnerReconciler).processRunnerCreation
/workspace/controllers/runner_controller.go:247
github.com/actions-runner-controller/actions-runner-controller/controllers.(*RunnerReconciler).Reconcile
/workspace/controllers/runner_controller.go:128
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Reconcile
/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.12.2/pkg/internal/controller/controller.go:121
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler
/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.12.2/pkg/internal/controller/controller.go:320
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.12.2/pkg/internal/controller/controller.go:273
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2
/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.12.2/pkg/internal/controller/controller.go:234
2022-07-13T05:09:59Z DEBUG events Warning {"object": {"kind":"Runner","namespace":"default","name":"example-runner","uid":"eada48cc-95f3-4455-a48b-c5ae17262f48","apiVersion":"actions.summerwind.dev/v1alpha1","resourceVersion":"5618"}, "reason": "FailedUpdateRegistrationToken", "message": "Updating registration token failed"}
2022-07-13T05:10:54Z ERROR actions-runner-controller.runner Failed to get new registration token {"runner": "example-runner", "error": "failed to create registration token: Post \"https://api.github.com/orgs/kunalorg/actions/runners/registration-token\": could not refresh installation id 1's token: received non 2xx response status \"401 Unauthorized\" when fetching https://api.github.com/app/installations/1/access_tokens"}
github.com/actions-runner-controller/actions-runner-controller/controllers.(*RunnerReconciler).processRunnerCreation
/workspace/controllers/runner_controller.go:247
github.com/actions-runner-controller/actions-runner-controller/controllers.(*RunnerReconciler).Reconcile
/workspace/controllers/runner_controller.go:128
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Reconcile
/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.12.2/pkg/internal/controller/controller.go:121
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler
/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.12.2/pkg/internal/controller/controller.go:320
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.12.2/pkg/internal/controller/controller.go:273
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2
/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.12.2/pkg/internal/controller/controller.go:234
2022-07-13T05:10:54Z DEBUG events Warning {"object": {"kind":"Runner","namespace":"default","name":"example-runner","uid":"eada48cc-95f3-4455-a48b-c5ae17262f48","apiVersion":"actions.summerwind.dev/v1alpha1","resourceVersion":"5618"}, "reason": "FailedUpdateRegistrationToken", "message": "Updating registration token failed"}
2022-07-13T05:11:49Z ERROR actions-runner-controller.runner Failed to get new registration token {"runner": "example-runner", "error": "failed to create registration token: Post \"https://api.github.com/orgs/kunalorg/actions/runners/registration-token\": could not refresh installation id 1's token: received non 2xx response status \"401 Unauthorized\" when fetching https://api.github.com/app/installations/1/access_tokens"}
github.com/actions-runner-controller/actions-runner-controller/controllers.(*RunnerReconciler).processRunnerCreation
/workspace/controllers/runner_controller.go:247
github.com/actions-runner-controller/actions-runner-controller/controllers.(*RunnerReconciler).Reconcile
/workspace/controllers/runner_controller.go:128
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Reconcile
/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.12.2/pkg/internal/controller/controller.go:121
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler
/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.12.2/pkg/internal/controller/controller.go:320
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.12.2/pkg/internal/controller/controller.go:273
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2
/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.12.2/pkg/internal/controller/controller.go:234
2022-07-13T05:11:49Z DEBUG events Warning {"object": {"kind":"Runner","namespace":"default","name":"example-runner","uid":"eada48cc-95f3-4455-a48b-c5ae17262f48","apiVersion":"actions.summerwind.dev/v1alpha1","resourceVersion":"5618"}, "reason": "FailedUpdateRegistrationToken", "message": "Updating registration token failed"}
Controller Version
0.25.1
Helm Chart Version
0.20.1
CertManager Version
1.8.2
Deployment Method
Helm
cert-manager installation
Step 1:-
helm repo add jetstack https://charts.jetstack.io
Step 2:- helm repo update
Step 3:- helm install
cert-manager jetstack/cert-manager
--namespace cert-manager
--create-namespace
--version v1.8.2
--set installCRDs=true
Checks
Resource Definitions
To Reproduce
Describe the bug
Trying this at GHEC GitHub Enterprise Cloud, have successfully done this on GitHub.com several time but for GHEC facing this issue !!!
At the time of deploying the runner.yaml file, for deploying the runner getting this error,
error: no kind "Runner" is registered for version "actions.summerwind.dev/v1alpha1" in scheme "pkg/scheme/scheme.go:28"
-> We can see the runner.actions.summerwind.dev/example-runner configured

-> But no pod to be found

-> when checked kubectl get runners got this

-> checking the log of runner deployment got this

Describe the expected behavior
The Runner pod should have appeared and registered to Github organization
Controller Logs
Runner Pod Logs
Additional Context
No response