docs/vault-helm: fix multi-line block copy (#19119)
Add a `$` before the command in shell blocks that include command output, so that the "Copy" button on the website only copies the command and not the output.
This commit is contained in:
parent
98513eb784
commit
dda2df25db
|
@ -58,7 +58,7 @@ kubectl exec -ti vault-primary-0 -- vault login
|
|||
Next, list all the raft peers:
|
||||
|
||||
```shell
|
||||
kubectl exec -ti vault-primary-0 -- vault operator raft list-peers
|
||||
$ kubectl exec -ti vault-primary-0 -- vault operator raft list-peers
|
||||
|
||||
Node Address State Voter
|
||||
---- ------- ----- -----
|
||||
|
@ -110,7 +110,7 @@ kubectl exec -ti vault-secondary-0 -- vault login
|
|||
Next, list all the raft peers:
|
||||
|
||||
```shell
|
||||
kubectl exec -ti vault-secondary-0 -- vault operator raft list-peers
|
||||
$ kubectl exec -ti vault-secondary-0 -- vault operator raft list-peers
|
||||
|
||||
Node Address State Voter
|
||||
---- ------- ----- -----
|
||||
|
|
|
@ -58,7 +58,7 @@ kubectl exec -ti vault-primary-0 -- vault login
|
|||
Next, list all the raft peers:
|
||||
|
||||
```shell
|
||||
kubectl exec -ti vault-primary-0 -- vault operator raft list-peers
|
||||
$ kubectl exec -ti vault-primary-0 -- vault operator raft list-peers
|
||||
|
||||
Node Address State Voter
|
||||
---- ------- ----- -----
|
||||
|
@ -109,7 +109,7 @@ kubectl exec -ti vault-secondary-0 -- vault login
|
|||
Next, list all the raft peers:
|
||||
|
||||
```shell
|
||||
kubectl exec -ti vault-secondary-0 -- vault operator raft list-peers
|
||||
$ kubectl exec -ti vault-secondary-0 -- vault operator raft list-peers
|
||||
|
||||
Node Address State Voter
|
||||
---- ------- ----- -----
|
||||
|
|
|
@ -52,7 +52,7 @@ kubectl exec -ti vault-0 -- vault login
|
|||
Next, list all the raft peers:
|
||||
|
||||
```shell
|
||||
kubectl exec -ti vault-0 -- vault operator raft list-peers
|
||||
$ kubectl exec -ti vault-0 -- vault operator raft list-peers
|
||||
|
||||
Node Address State Voter
|
||||
---- ------- ----- -----
|
||||
|
|
|
@ -48,7 +48,7 @@ kubectl exec -ti vault-0 -- vault login
|
|||
Next, list all the raft peers:
|
||||
|
||||
```shell
|
||||
kubectl exec -ti vault-0 -- vault operator raft list-peers
|
||||
$ kubectl exec -ti vault-0 -- vault operator raft list-peers
|
||||
|
||||
Node Address State Voter
|
||||
---- ------- ----- -----
|
||||
|
|
Loading…
Reference in New Issue