Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NSFS | NC | Configuration | accounts/ and access_keys/ directories changes #7591

Merged
merged 1 commit into from
Nov 20, 2023

Conversation

romayalon
Copy link
Contributor

@romayalon romayalon commented Nov 13, 2023

Explain the changes

  1. replace the current accounts/access_key.json structure with accounts/name.json and the corresponding access_keys/access_key.symlink -
/etc/noobaa.conf.d/accounts/alice.json  --> { "name": "alice", "access_keys": [{ "access_key": "ABCD", "secret_key": "***" }], ... }
/etc/noobaa.conf.d/access_keys/ABCD.symlink --> /etc/noobaa.conf.d/accounts/alice.json
  1. fix account update name/access key
  2. fix bucket update name
  3. unit tests addition

Issues: Fixed #xxx / Gap #xxx

Testing Instructions:

  1. sudo node ./node_modules/mocha/bin/mocha /Users/username/github/noobaa-core/src/test/unit_tests/test_bucketspace_fs.js
  2. sudo node ./node_modules/mocha/bin/mocha /Users/username/github/noobaa-core/src/test/unit_tests/test_nc_nsfs_cli.js
  • Doc added/updated
  • Tests added

src/cmd/manage_nsfs.js Outdated Show resolved Hide resolved
src/cmd/manage_nsfs.js Show resolved Hide resolved
src/cmd/manage_nsfs.js Show resolved Hide resolved
src/cmd/manage_nsfs.js Outdated Show resolved Hide resolved
@romayalon romayalon force-pushed the romy-access-keys-link branch 2 times, most recently from ef844d4 to ede20f9 Compare November 15, 2023 12:14
Copy link
Contributor

@liranmauda liranmauda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@romayalon romayalon force-pushed the romy-access-keys-link branch 3 times, most recently from cecc2c0 to f913b0e Compare November 20, 2023 08:04
Signed-off-by: Romy <35330373+romayalon@users.noreply.github.com>
@romayalon romayalon merged commit c4f2ff5 into noobaa:master Nov 20, 2023
8 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants