docs/doc/source/security/kubernetes/remove-vault.rst
Keane Lim 3c5fa979a4 Security guide update
Re-organized topic hierarchy

Tiny edit to restart review workflow.

Squashed with Resolved index.rst conflict commit

Change-Id: I13472792cb19d1e9975ac76c6954d38054d606c5
Signed-off-by: Keane Lim <keane.lim@windriver.com>
Signed-off-by: MCamp859 <maryx.camp@intel.com>
2021-03-12 15:10:40 -05:00

1.3 KiB

Remove Vault

You can remove Vault from your , if required, by using the procedure described in this section.

Run the following commands to remove Vault. This will remove pods and other resources created by the Armada installation. For more information, see Install Vault <install-vault>.

  1. Remove pods and other resources using the following command:

    $ system application-remove vault
  2. (Optional) If you want to reinstall Vault, and only retain Vault data stored in PVCs, use the following command:

    $ kubectl delete secrets -n vault vault-server-tls
    1. Reinstall Vault, if required using the following command:

      $ system application-apply vault

      Note

      It is recommended to do a complete remove of all resources if you want to reinstall Vault.

  3. To completely remove Vault, including PVCs (PVCs are intended to persist after system application-remove vault in order to preserve Vault data), use the following command.

    $ kubectl delete ns vault
    $ system application-delete vault