[Backport release-1.1] fix(migrations): handle missing rabbitmq CRD in migration 34 by github-actions[bot] · Pull Request #2180 · cozystack/cozystack

@IvanHunters @github-actions

Migration 34 fails when rabbitmqs.apps.cozystack.io CRD does not exist,
which happens when RabbitMQ was never installed on the cluster. Add a
check for CRD presence before attempting to list resources.

Signed-off-by: IvanHunters <xorokhotnikov@gmail.com>
(cherry picked from commit 21f293a)

@dosubot dosubot bot added size:XS

This PR changes 0-9 lines, ignoring generated files.

bug

Something isn't working

labels

Mar 10, 2026

@kvaps kvaps deleted the backport-2168-to-release-1.1 branch

March 10, 2026 08:03