fire: removing the deprecated Kafka Statefulset in 0.7.0 timeframe
@@ -218,39 +218,3 @@ spec:
- name: kafka-channel-controller-config
configMap:
name: kafka-channel-controller-config
-
----
-
- # TODO: Remove this for 0.7.0 release,
- # see also: https://github.com/knative/eventing/issues/1156
- # Background:
- # In 0.6.0 the kafka-channel-dispatcher StatefulSet is replaced by a Deployment.
- # For backwards compatibility we keep the StatefulSet, but scale it to 0 replicas.
-
-apiVersion: apps/v1
-kind: StatefulSet
-metadata:
- name: kafka-channel-dispatcher
- namespace: knative-eventing
-spec:
- replicas: 0
- selector:
- matchLabels: &labels
- clusterChannelProvisioner: kafka
- role: dispatcher
- serviceName: kafka-channel-dispatcher-service
- template:
- metadata:
- labels: *labels
- spec:
- serviceAccountName: kafka-channel-dispatcher
- containers:
- - name: dispatcher
- image: github.com/knative/eventing/contrib/kafka/cmd/dispatcher
- volumeMounts:
- - name: kafka-channel-controller-config
- mountPath: /etc/config-provisioner
- volumes:
- - name: kafka-channel-controller-config
- configMap:
- name: kafka-channel-controller-config
