forked from rook/rook
Some external consumers of Rook-Ceph are using the lib-bucket-provisioner operator which creates different CRDs for both objectbuckets.objectbucket.io and objectbucketclaims.objectbucket.io. They have the `additionalConfig` declared in their spec. Rook-Ceph does not and thus ignores it. For the OB creation to work, the `additionalConfig` must be acknowledged by the operator and populate or initialize it if empty. This is preventing the following error: controller.go:190] error syncing 'default/ceph-retain-bucket-converged': error creating OB "": ObjectBucket.objectbucket.io "obc-default-ceph-retain-bucket-converged" is invalid: spec.endpoint.additionalConfig: Invalid value: "null": spec.endpoint.additionalConfig in body must be of type object: "null", requeuing Signed-off-by: Sébastien Han <seb@redhat.com>