Skip to content

Apache Kafka Channel Example(docs/eventing/samples/kafka/channel/index.md) missing step to create service account #3079

@xtreme-sameer-vohra

Description

@xtreme-sameer-vohra

Following the section to create a svc and trigger here

Expected Behavior

kubectl logs --selector='serving.knative.dev/service=broker-kafka-display' -c user-container

to have output some events

Actual Behavior

NAME                                                      SINK                                                                                        AGE     READY   REASON
apiserversource.sources.knative.dev/testevents-kafka-03   http://broker-ingress.knative-eventing.svc.cluster.local/kafka-channel-ex/my-kafka-broker   3m14s   False


k  describe apiserversource.sources.knative.dev/testevents-kafka-03
.
.
.
Warning  InternalError  62s (x16 over 3m46s)  apiserversource-controller  Insufficient permission: user system:serviceaccount:default:events-sa cannot get, list, watch resource "events" in API group ""

Steps to Reproduce the Problem

  1. Follow the Kafka Channel guide here

Additional Info

The missing service account file is present in the repo here but just not referenced in the README.md

Install information:

  • Platform (GKE, IKS, AKS, etc.): n/a
  • Knative Version: 0.19

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions