vault: ensure authorize-charm is run on lead unit

Ensure its clear that the authorize-charm action should be run
on the lead vault unit in a HA deployment by using the /leader
syntax to auto-identify the lead unit.

Add '--wait' parameter to example to ensure users see any action
failures.

Change-Id: I7dff6c3188d1877529e879adea4af9ffb8dee7c8
Closes-Bug: 1818660
This commit is contained in:
James Page 2019-03-05 16:10:22 +00:00
parent 0e46db7d2a
commit 471734c341
1 changed files with 1 additions and 1 deletions

View File

@ -143,7 +143,7 @@ Vault:
.. code:: bash
juju run-action vault/0 authorize-charm token=03ceadf5-529d-6a64-0cfd-1e341b1dacb1
juju run-action --wait vault/leader authorize-charm token=03ceadf5-529d-6a64-0cfd-1e341b1dacb1
After the action completes execution, the vault unit will go active
and any pending requests for secrets storage will be processed for