From 250c83d905d97d945a1eaebc417120a341d940ef Mon Sep 17 00:00:00 2001 From: Ben Ash <32777270+benashz@users.noreply.github.com> Date: Thu, 12 Dec 2024 09:57:34 -0500 Subject: [PATCH] vso/docs: restore upgrade instructions (#29159) --- .../docs/platform/k8s/vso/installation.mdx | 26 +++++++++++++------ 1 file changed, 18 insertions(+), 8 deletions(-) diff --git a/website/content/docs/platform/k8s/vso/installation.mdx b/website/content/docs/platform/k8s/vso/installation.mdx index 845c6fca2a..f79b247003 100644 --- a/website/content/docs/platform/k8s/vso/installation.mdx +++ b/website/content/docs/platform/k8s/vso/installation.mdx @@ -41,6 +41,16 @@ Then install the Operator: $ helm install --version 0.9.1 --create-namespace --namespace vault-secrets-operator vault-secrets-operator hashicorp/vault-secrets-operator ``` +## Updating CRDs when using Helm + + + + As of VSO 0.8.0, VSO will automatically update its CRDs. + The manual upgrade step [Updating CRDs](#updating-crds-when-using-helm-prior-to-vso-0-8-0) below is no longer + required before upgrading to VSO 0.8.0+. + + + ## Upgrading using Helm You can upgrade an existing installation with the `helm upgrade` command. @@ -55,15 +65,15 @@ Hang tight while we grab the latest from your chart repositories... Update Complete. ⎈Happy Helming!⎈ ``` -## Updating CRDs when using Helm +To upgrade your VSO release, replace `` with the VSO version you are upgrading to: +```shell-session +$ helm upgrade --version --namespace vault-secrets-operator vault-secrets-operator hashicorp/vault-secrets-operator +``` - - - As of VSO 0.8.0, VSO will automatically update its CRDs. - The manual upgrade step [Updating CRDs](#updating-crds-when-using-helm-prior-to-vso-0-8-0) below is no longer required when - upgrading to VSO 0.8.0+. - - +For example, if you are upgrading to VSO 0.9.1: +```shell-session +$ helm upgrade --version 0.9.1 --namespace vault-secrets-operator vault-secrets-operator hashicorp/vault-secrets-operator +``` The VSO Helm chart will automatically upgrade the CRDs to match the VSO version being deployed. There should be no need to manually update the CRDs prior to upgrading VSO using Helm.