From a9dc58a3c764d900ca11cf7f02d93617e12a7f6c Mon Sep 17 00:00:00 2001 From: Kamesh Sampath Date: Mon, 15 Feb 2021 11:54:26 +0530 Subject: [PATCH] (fix) remove explicit KafkaSource install KafkaSource is now installed as part of OpenShift Serverless --- tasks/deploy_kafka.yml | 29 ----------------------------- 1 file changed, 29 deletions(-) diff --git a/tasks/deploy_kafka.yml b/tasks/deploy_kafka.yml index a88545c..679a383 100755 --- a/tasks/deploy_kafka.yml +++ b/tasks/deploy_kafka.yml @@ -29,32 +29,3 @@ register: strimzi_kafka_status with_file: - "{{ strimzi_kafka_cr }}" - -# Knative Eventing Kafka Sources -- name: "Install Operator::Knative Eventing KafkaSource" - community.kubernetes.k8s: - state: present - definition: "{{ lookup('template','kafka/eventing/subscription.yaml.j2') | from_yaml }}" - wait: yes - when: deploy_serverless - -- name: "Install Knative Eventing KafkaSource" - include_tasks: utils/wait_for_operator_and_sub.yml - vars: - subscription_name: knative-kafka-operator - when: deploy_serverless - -- name: "Create Knative Eventing KafkaSource" - community.kubernetes.k8s: - state: present - definition: "{{ item | from_yaml }}" - wait: yes - wait_timeout: 180 - wait_sleep: 10 - wait_condition: - type: Ready - no_log: True - register: kn_eventing_kafka_status - with_file: - - "{{ knative_eventing_kafka_cr }}" - when: deploy_serverless