Installing and upgrading the Vault Secrets Operator
Prerequisites
- A Kubernetes cluster running 1.23+
- Helm 3.7+
Installation using helm
Install Helm before beginning.
The Vault Secrets Operator Helm chart is the recommended way of installing and configuring the Vault Secrets Operator.
To install a new instance of the Vault Secrets Operator, first add the HashiCorp helm repository and ensure you have access to the chart:
Then install the Operator:
Upgrading using helm
You can upgrade an existing installation with the helm upgrade
command.
Please always run Helm with the --dry-run
option before any install or upgrade to verify
changes.
Update the hashicorp
Helm repo:
Helm does not automatically update CRDs
You must update all CRDs manually before upgrading VSO. Refer to Updating CRDs.To upgrade your VSO release, replace <TARGET_VSO_VERSION>
with the VSO version you are upgrading to:
For example, if you are upgrading to VSO 0.3.1:
Updating CRDs
You must update the CRDs for VSO manually before you upgrade the operator when the operator is managed by Helm.
Any kubectl
warnings related to last-applied-configuration
should be safe to ignore.
To update the VSO CRDs, replace <TARGET_VSO_VERSION>
with the VSO version you are upgrading to:
For example, if you are upgrading to VSO 0.3.1:
Chart values
Refer to the VSO helm chart overview for a full list of supported chart values.