1

Describe the bug
Hi, I followed this guide to test githubsource. -> knative/GitHubSource

But I got this error.

error: unable to recognize "github-source.yaml": no matches for kind "GitHubSource" in version "sources.eventing.knative.dev/v1alpha1"

To Reproduce
step :

  1. Install CRDs
$ kubectl apply --selector knative.dev/crd-install=true \
--filename https://github.com/knative/serving/releases/download/v0.11.0/serving.yaml \
--filename https://github.com/knative/eventing/releases/download/v0.11.0/release.yaml \
--filename https://github.com/knative/serving/releases/download/v0.11.0/monitoring.yaml
  1. Install Resources
$ kubectl apply --filename https://github.com/knative/serving/releases/download/v0.11.0/serving.yaml \
--filename https://github.com/knative/eventing/releases/download/v0.11.0/release.yaml \
--filename https://github.com/knative/serving/releases/download/v0.11.0/monitoring.yaml

and following this guide -> knative/GitHubSource

I got error in "Create Event Source for GitHub Events"

Knative release version
v0.11

image

Additional context According to this article, I can can list all existing Sources with kubectl get sources. But I can not find any sources.

image

Thanks

GRu. L
  • 551
  • 2
  • 5
  • 12

1 Answers1

1

The knative/eventing issue 2376 (opened, I supposed, by the OP) includes an explanation from Vincent (houshengbo):

Vincent refers to Knative Eventing / Sources, about how to install the eventing sources.

GitHubSource is one of them, and all the available sources are be found here.
The repo is https://github.com/knative/eventing-contrib.

However, there should be instruction on how to install the sources: Install Knative Eventing.
Those instructions also install the default eventing sources, including the GitHubSource we'll use.

I have not found any.

I guess you need to install it by

kubectl apply -f https://github.com/knative/eventing-contrib/releases/download/v0.11.0/github.yaml

for 0.11.0.

VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250