noobaa-operator
noobaa-operator copied to clipboard
Support user-provided NSFSAccountConfig when creating OBCs
Explain the changes
- Refactor
LoadBucketReplicationJSON
to a genericLoadConfigurationJSON
function - Add CLI support for passing an NSFS configuration
- Pass NsfsAccountConfig to
CreateAccountAPI
when creating a new OBC - Add NSFS account config validation
- Add
distinguished_name
support
All the changes are needed to support a flow where the user creates a new OBC on top of an NSFS namespacestore, and would like to use the OBC's credentials to interact with the bucket
Note: path
is already supported
Issues: Fixed #xxx / Gap #xxx
#958
Testing Instructions:
- Create an NSFS namespacestore
- Create a bucketclass that utilizes the NS from the previous step
- Create an OBC that utilizes the bucketclass from the previous step
- Use the credentials provided after the OBC's creation to write to it
- Access the filesystem, verify the object was written successfully
- [x] Doc added/updated
- [ ] Tests added