noobaa-operator icon indicating copy to clipboard operation
noobaa-operator copied to clipboard

Support user-provided NSFSAccountConfig when creating OBCs

Open Neon-White opened this issue 10 months ago • 0 comments

Explain the changes

  • Refactor LoadBucketReplicationJSON to a generic LoadConfigurationJSON 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:

  1. Create an NSFS namespacestore
  2. Create a bucketclass that utilizes the NS from the previous step
  3. Create an OBC that utilizes the bucketclass from the previous step
  4. Use the credentials provided after the OBC's creation to write to it
  5. Access the filesystem, verify the object was written successfully
  • [x] Doc added/updated
  • [ ] Tests added

Neon-White avatar Apr 12 '24 14:04 Neon-White