Skip to content

Commit

Permalink
(fix) remove explicit KafkaSource install
Browse files Browse the repository at this point in the history
KafkaSource is now installed as part of OpenShift Serverless
  • Loading branch information
kameshsampath committed Feb 15, 2021
1 parent 2efa60a commit a9dc58a
Showing 1 changed file with 0 additions and 29 deletions.
29 changes: 0 additions & 29 deletions tasks/deploy_kafka.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit a9dc58a

Please sign in to comment.