描述 bug
嗨,我按照这个指南测试了 githubsource。-> knative/GitHubSource
但我得到了这个错误。
error: unable to recognize "github-source.yaml": no matches for kind "GitHubSource" in version "sources.eventing.knative.dev/v1alpha1"
重现
步骤:
- 安装 CRD
$ 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
- 安装资源
$ 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
并遵循本指南-> knative/GitHubSource
“为 GitHub 事件创建事件源”中出现错误
Knative 发布版
v0.11
附加上下文
根据这篇文章,我可以列出所有现有的 Sources kubectl get sources
。但我找不到任何来源。
谢谢