Reproduced end-to-end against a real Kafka 3.9.1 broker:
- [CRITICAL] The Strimzi image ships curl 7.76.1, whose --aws-sigv4
omits a non-default port from the SigV4 canonical Host while sending it
in the Host header, so every S3 PUT/GET 403s and the driver never
uploads or downloads. Sign/send the bare host and redirect the
connection to the real port with --connect-to (the same fix the
topic-data example already carries), and accept the in-cluster
self-signed cert with -k.
- [CRITICAL] kafka-topics --topic is a Java regex, not a literal: a
backup entry for "audit.events" also matched a live "audit-events", so
restore repartitioned an unrelated topic irreversibly and backup
recorded the wrong partition/replication values. Wrap the name in
\Q...\E on every filter call (--describe on both paths, --alter on
restore) so it matches exactly one topic; --create and
kafka-configs --entity-name are already literal. Applied in the example
helpers too.
- [MAJOR] cozy-default's Kafka route looked like a data backup at
runtime. Stamp scope=topic-metadata on the produced Backup's
DriverMetadata and say "topic definitions and configs only; no message
data" in the Ready condition, so kubectl describe backup is honest.
- [MAJOR] Add reconcile tests for the two Go behaviours a mutation could
silently drop: the Strimzi-Ready precondition on backup (BackupJob
stays out of Succeeded and creates no Job) and the applicationRef Kind
gate on the restore target.
- [MINOR] Fail closed on the config-capture grep (exit != 1 aborts) and
clarify the image pin has no automated producer.
Signed-off-by: Andrey Kolkov <androndo@gmail.com>
Assisted-by: LLM