Skip to content

Commit

Permalink
setup fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Razz4780 committed Oct 2, 2024
1 parent 4d30e87 commit 0195c9e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions mirrord/operator/src/setup.rs
Original file line number Diff line number Diff line change
Expand Up @@ -214,12 +214,10 @@ impl OperatorSetup for Operator {
writer.write_all(b"---\n")?;
MirrordPolicy::crd().to_writer(&mut writer)?;

if self.sqs_splitting || self.kafka_splitting {
if self.sqs_splitting {
writer.write_all(b"---\n")?;
MirrordWorkloadQueueRegistry::crd().to_writer(&mut writer)?;
}

if self.sqs_splitting {
writer.write_all(b"---\n")?;
MirrordSqsSession::crd().to_writer(&mut writer)?;
}
Expand All @@ -230,6 +228,9 @@ impl OperatorSetup for Operator {

writer.write_all(b"---\n")?;
MirrordKafkaTemporaryTopic::crd().to_writer(&mut writer)?;

writer.write_all(b"---\n")?;
MirrordKafkaTopicsConsumer::crd().to_writer(&mut writer)?;
}

Ok(())
Expand Down

0 comments on commit 0195c9e

Please sign in to comment.