Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
Signed-off-by: hmsayem <[email protected]>
  • Loading branch information
hmsayem committed Oct 9, 2023
1 parent d5e6c95 commit 4c349f9
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions docs/guides/cli/kubectl-plugin/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ $ kubectl stash resume backup --namespace=demo --backupconfig==my-config
`kubectl stash debug` command is used to debug stash resources. This command describes the necessary resources and shows logs from the related pods which makes the debugging process quicker and easier.

### Debug Backup
To debug a backup you have to provide the BackupConfiguration name or BackupBatch name by using flags. The available flags are:
This command is used to debug a backup. You have to provide the BackupConfiguration name or BackupBatch name by using flags. The available flags are:

| Flag | Description |
|------------------|-----------------------------------------------------------------------------------|
Expand All @@ -412,7 +412,7 @@ $ kubectl stash debug backup --namespace=demo --backupconfig=my-config

### Debug Restore

To debug a restore you have to provide the `RestoreSession` name or `RestoreBatch` name by using flags. The available flags are:
This command is used to debug a restore. You have to provide the `RestoreSession` name or `RestoreBatch` name by using flags. The available flags are:

| Flag | Description |
|--------------------|--------------------------------------------------------------------------------|
Expand All @@ -435,21 +435,21 @@ $ kubectl stash debug restore --namespace=demo --restoresession=my-restore

### Debug Operator

To show version related information and operator logs
This command is used to show version related information and operator logs.

**Example:**

```bash
$ kubectl stash debug operator
```

### Key Command
## Key Command

`kubectl stash key` command is used to manage keys (passwords) for a restic repository.
`kubectl stash key` command is used to manage keys (passwords) of a restic repository.

### Key List

To list restic keys (passwords) of a restic repository.
This command is used to list restic keys (passwords) of a restic repository.

**Format:**

Expand All @@ -465,7 +465,7 @@ $ kubectl stash key list my-repo --namespace=demo

### Key Add

To add a new key (password) to a restic repository. You will provide the information of the new key by using flags. The available flags are:
This command is used to add a new key (password) to a restic repository. You have to provide the information of the new key by using flags. The available flags are:

| Flag | Description |
|-----------------------|--------------------------------------------------------------------------------|
Expand All @@ -488,7 +488,7 @@ $ kubectl stash key list my-repo --namespace=demo --user root --host my-host --n

### Key Update

To update the current key (password) of a restic repository. You will provide the updated key by using flag. The available flags are:
This command is used to update the current key (password) of a restic repository. You have to provide the updated key by using a flag. The available flags are:

| Flag | Description |
|-----------------------|--------------------------------------------------------------------------------|
Expand All @@ -509,7 +509,7 @@ $ kubectl stash key list my-repo --namespace=demo --new-password-file password.t

### Key Remove

To remove a key (password) of a restic repository. You will provide the ID of the key to remove by using flag. The available flags are:
This command is used to remove a key (password) of a restic repository. You have to provide the ID of the key to remove by using flag. The available flags are:

| Flag | Description |
|---------------|--------------------------------------------------------|
Expand Down

0 comments on commit 4c349f9

Please sign in to comment.