diff --git a/docs/eventing/samples/kafka/channel/020-k8s-events.yaml b/docs/eventing/samples/kafka/channel/020-k8s-events.yaml index 04d7fa0c7ba..3de995264cc 100644 --- a/docs/eventing/samples/kafka/channel/020-k8s-events.yaml +++ b/docs/eventing/samples/kafka/channel/020-k8s-events.yaml @@ -10,6 +10,7 @@ spec: - apiVersion: v1 kind: Event sink: - apiVersion: eventing.knative.dev/v1alpha1 - kind: Broker - name: default + ref: + apiVersion: eventing.knative.dev/v1alpha1 + kind: Broker + name: default diff --git a/docs/eventing/samples/kafka/channel/README.md b/docs/eventing/samples/kafka/channel/README.md index 11cab860506..5a55637d13f 100644 --- a/docs/eventing/samples/kafka/channel/README.md +++ b/docs/eventing/samples/kafka/channel/README.md @@ -21,7 +21,7 @@ You must also have the following tools installed: Install the `KafkaChannel` sub-component on your Knative Eventing cluster: ``` - curl -L "https://github.com/knative/eventing-contrib/releases/download/v0.9.0/kafka-channel.yaml" \ + curl -L "https://github.com/knative/eventing-contrib/releases/download/v0.10.1/kafka-channel.yaml" \ | sed 's/REPLACE_WITH_CLUSTER_URL/my-cluster-kafka-bootstrap.kafka:9092/' \ | kubectl apply --filename - ``` diff --git a/docs/eventing/samples/kafka/source/README.md b/docs/eventing/samples/kafka/source/README.md index 5e44713141a..9c6c968c58f 100644 --- a/docs/eventing/samples/kafka/source/README.md +++ b/docs/eventing/samples/kafka/source/README.md @@ -18,7 +18,7 @@ You must ensure that you meet the [prerequisites listed in the Apache Kafka over 1. Install the `KafkaSource` sub-component to your Knative cluster: ``` - kubectl apply -f https://github.com/knative/eventing-contrib/releases/download/v0.9.0/kafka-source.yaml + kubectl apply -f https://github.com/knative/eventing-contrib/releases/download/v0.10.1/kafka-source.yaml ``` 2. Check that the `kafka-controller-manager-0` pod is running. @@ -109,9 +109,10 @@ You must ensure that you meet the [prerequisites listed in the Apache Kafka over bootstrapServers: my-cluster-kafka-bootstrap.kafka:9092 #note the kafka namespace topics: knative-demo-topic sink: - apiVersion: serving.knative.dev/v1 - kind: Service - name: event-display + ref: + apiVersion: serving.knative.dev/v1 + kind: Service + name: event-display ``` 1. Deploy the event source. @@ -189,7 +190,7 @@ You must ensure that you meet the [prerequisites listed in the Apache Kafka over ``` 3. Remove the Apache Kafka Event Controller ``` - $ kubectl delete -f https://github.com/knative/eventing-contrib/releases/download/v0.9.0/kafka-importer.yaml + $ kubectl delete -f https://github.com/knative/eventing-contrib/releases/download/v0.10.1/kafka-importer.yaml serviceaccount "kafka-controller-manager" deleted clusterrole.rbac.authorization.k8s.io "eventing-sources-kafka-controller" deleted clusterrolebinding.rbac.authorization.k8s.io "eventing-sources-kafka-controller" deleted diff --git a/docs/eventing/samples/kafka/source/event-source.yaml b/docs/eventing/samples/kafka/source/event-source.yaml index 2331cdd0427..6d84e810e02 100644 --- a/docs/eventing/samples/kafka/source/event-source.yaml +++ b/docs/eventing/samples/kafka/source/event-source.yaml @@ -70,6 +70,7 @@ spec: cpu: 250m memory: 512Mi sink: - apiVersion: serving.knative.dev/v1 - kind: Service - name: event-display + ref: + apiVersion: serving.knative.dev/v1 + kind: Service + name: event-display