forked from rook/rook
Add tests/integration/object/bucket/lifecycle, converting the bucket lifecycle slice of the legacy testObjectStoreOperations onto the shared store. An OBC is created with a bucketLifecycle additionalConfig, the rules are verified on the rgw bucket over the S3 API, then updated and removed with the bucket polled until it reflects each change. The lifecycleCmpOpts comparison options move out of the suite dispatcher into the package, and the Ceph v19.2.3 removal-regression skip now discovers the CephCluster by listing the store's namespace. It runs against the shared store in both the TLS and non-TLS passes. Drop the converted lifecycle block from the legacy test. Signed-off-by: Joshua Hoblitt <josh@hoblitt.com>