forked from rook/rook
Work around issue https://github.com/rook/rook/issues/7573 and make sure integration tests check for regressions. Eventually we should use the RADOS Gateway admin REST API, but for now we need to work around an issue where the built version of 'radosgw-admin' has incompatibilities with the RADOS Gateway version running in the Ceph cluster. Of note, Rook built on the Ceph Pacific image will not support some 'radosgw-admin' commands to Ceph Nautilus (v14) or Octopus (v15) clusters. Further complicating matters, the flag used for the workaround changes between Ceph v16.2.0 and v16.2.1 (both Pacific). This bug needs to be treated a little differently than most of the ways Rook handles different commands for different Ceph versions because this is based on the Ceph version that is installed in the container with the Rook operator primarily and not the version of Ceph running in the cluster. Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com>