forked from rook/rook
createREplicatedPoolForApp creates a base Crush rule (named after the pool) on every reconcile, even if the pool already exists and uses a suffixed rule ( eg pool_host_ssd). This causes orphaned rules to reappear after every operator restart, immediately after CleanupUnusedCrushRules deletes them. This PR ensures that the base rule is created only if the pool does not exist yet. Signed-off-by: Santosh <sapillai@redhat.com>