-
Notifications
You must be signed in to change notification settings - Fork 90
NC | Adding support of user bucket path #9271
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -76,7 +76,7 @@ The `account add` command is used to create a new account with customizable opti | |||||||||||||||||
| ```sh | ||||||||||||||||||
| noobaa-cli account add --name <account_name> --uid <uid> --gid <gid> [--user] | ||||||||||||||||||
| [--new_buckets_path][--access_key][--secret_key][--fs_backend] | ||||||||||||||||||
| [--allow_bucket_creation][--force_md5_etag][--anonymous][--from_file][--iam_operate_on_root_account][--default_connection] | ||||||||||||||||||
| [--allow_bucket_creation][--force_md5_etag][--anonymous][--from_file][--iam_operate_on_root_account][--default_connection][--custom_bucket_path_allowed_list] | ||||||||||||||||||
| ``` | ||||||||||||||||||
| #### Flags - | ||||||||||||||||||
| - `name` (Required) | ||||||||||||||||||
|
|
@@ -140,6 +140,11 @@ noobaa-cli account add --name <account_name> --uid <uid> --gid <gid> [--user] | |||||||||||||||||
| - Type: String | ||||||||||||||||||
| - Description: A default account for Kafka external servers. See bucket-notifications.md. | ||||||||||||||||||
|
|
||||||||||||||||||
| - `custom_bucket_path_allowed_list` | ||||||||||||||||||
| - Type: String | ||||||||||||||||||
| - Description: Specifies an allowed list where this account can create buckets in using | ||||||||||||||||||
| x-noobaa-custom-bucket-path header in create_bucket | ||||||||||||||||||
|
Comment on lines
+143
to
+146
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fix markdown list indentation. The description lines have inconsistent indentation (4 spaces instead of 2). Apply this diff to fix the indentation: - `custom_bucket_path_allowed_list`
- - Type: String
- - Description: Specifies an allowed list where this account can create buckets in using
- x-noobaa-custom-bucket-path header in create_bucket
+ - Type: String
+ - Description: Specifies an allowed list where this account can create buckets in using
+ x-noobaa-custom-bucket-path header in create_bucket🧰 Tools🪛 markdownlint-cli2 (0.18.1)144-144: Unordered list indentation (MD007, ul-indent) 145-145: Unordered list indentation (MD007, ul-indent) 🤖 Prompt for AI Agents |
||||||||||||||||||
|
|
||||||||||||||||||
| ### Update Account | ||||||||||||||||||
|
|
||||||||||||||||||
| The `account update` command is used to update an existing account with customizable options. | ||||||||||||||||||
|
|
@@ -149,6 +154,7 @@ The `account update` command is used to update an existing account with customiz | |||||||||||||||||
| noobaa-cli account update --name <account_name> [--new_name][--uid][--gid][--user] | ||||||||||||||||||
| [--new_buckets_path][--access_key][--secret_key][--regenerate][--fs_backend] | ||||||||||||||||||
| [--allow_bucket_creation][--force_md5_etag][--anonymous][--iam_operate_on_root_account][--default_connection] | ||||||||||||||||||
| [--custom_bucket_path_allowed_list] | ||||||||||||||||||
| ``` | ||||||||||||||||||
| #### Flags - | ||||||||||||||||||
| - `name` (Required) | ||||||||||||||||||
|
|
@@ -216,6 +222,11 @@ noobaa-cli account update --name <account_name> [--new_name][--uid][--gid][--use | |||||||||||||||||
| - Type: String | ||||||||||||||||||
| - Description: A default account for Kafka external servers. See bucket-notifications.md. | ||||||||||||||||||
|
|
||||||||||||||||||
| - `custom_bucket_path_allowed_list` | ||||||||||||||||||
| - Type: String | ||||||||||||||||||
| - Description: Specifies an allowed list where this account can create buckets in using | ||||||||||||||||||
| x-noobaa-custom-bucket-path header in create_bucket | ||||||||||||||||||
|
Comment on lines
+225
to
+228
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fix markdown list indentation. The description lines have inconsistent indentation (4 spaces instead of 2). Apply this diff to fix the indentation: - `custom_bucket_path_allowed_list`
- - Type: String
- - Description: Specifies an allowed list where this account can create buckets in using
- x-noobaa-custom-bucket-path header in create_bucket
+ - Type: String
+ - Description: Specifies an allowed list where this account can create buckets in using
+ x-noobaa-custom-bucket-path header in create_bucket📝 Committable suggestion
Suggested change
🧰 Tools🪛 markdownlint-cli2 (0.18.1)226-226: Unordered list indentation (MD007, ul-indent) 227-227: Unordered list indentation (MD007, ul-indent) 🤖 Prompt for AI Agents |
||||||||||||||||||
|
|
||||||||||||||||||
| ### Account Status | ||||||||||||||||||
|
|
||||||||||||||||||
| The `account status` command is used to print the status of the account. | ||||||||||||||||||
|
|
||||||||||||||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fix markdown list indentation.
The bullet point has incorrect indentation (2 spaces instead of 0, as it should align with other properties at the same level).
Apply this diff to fix the indentation:
📝 Committable suggestion
🧰 Tools
🪛 markdownlint-cli2 (0.18.1)
41-41: Unordered list indentation
Expected: 0; Actual: 2
(MD007, ul-indent)
🤖 Prompt for AI Agents