knative-extensions / eventing-couchdb

CouchDB integration with Knative Eventing.
Apache License 2.0
3 stars 19 forks source link

Installation with yaml failed #249

Open chzhyang opened 1 year ago

chzhyang commented 1 year ago

Describe the bug Installation failed in deprecated K8S APIs

Expected behavior

$ kubectl apply -f https://github.com/knative-sandbox/eventing-couchdb/releases/latest/download/couchdb.yaml
namespace/knative-sources created
serviceaccount/couchdb-controller-manager created
serviceaccount/couchdb-webhook created
clusterrole.rbac.authorization.k8s.io/couchdb-controller created
clusterrole.rbac.authorization.k8s.io/eventing-contrib-couchdb-source-observer created
clusterrole.rbac.authorization.k8s.io/couchdb-webhook created
clusterrolebinding.rbac.authorization.k8s.io/couchdb-controller-rolebinding created
clusterrolebinding.rbac.authorization.k8s.io/eventing-sources-couchdb-controller-addressable-resolver created
clusterrolebinding.rbac.authorization.k8s.io/couchdb-webhook created
service/couchdb-controller-manager created
service/couchdb-webhook created
statefulset.apps/couchdb-controller-manager created
secret/eventing-webhook-certs configured
deployment.apps/couchdb-webhook created
configmap/config-leader-election-couchdb created
configmap/config-logging created
configmap/config-observability created
resource mapping not found for name: "couchdbsources.sources.knative.dev" namespace: "" from "https://github.com/knative-sandbox/eventing-couchdb/releases/latest/download/couchdb.yaml": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1"
ensure CRDs are installed first
resource mapping not found for name: "defaulting.webhook.couchdb.messaging.knative.dev" namespace: "" from "https://github.com/knative-sandbox/eventing-couchdb/releases/latest/download/couchdb.yaml": no matches for kind "MutatingWebhookConfiguration" in version "admissionregistration.k8s.io/v1beta1"
ensure CRDs are installed first
resource mapping not found for name: "validation.webhook.couchdb.messaging.knative.dev" namespace: "" from "https://github.com/knative-sandbox/eventing-couchdb/releases/latest/download/couchdb.yaml": no matches for kind "ValidatingWebhookConfiguration" in version "admissionregistration.k8s.io/v1beta1"
ensure CRDs are installed first

To Reproduce install couchDB source with YAML kubectl apply -f https://github.com/knative-sandbox/eventing-couchdb/releases/latest/download/couchdb.yaml

Knative release version v1.8.4 Additional context Kubernetes version: v1.25.4

github-actions[bot] commented 1 year ago

This issue is stale because it has been open for 90 days with no activity. It will automatically close after 30 more days of inactivity. Reopen the issue with /reopen. Mark the issue as fresh by adding the comment /remove-lifecycle stale.