Skip to content

Commit

Permalink
backport of commit 250c83d (#29167)
Browse files Browse the repository at this point in the history
Co-authored-by: Ben Ash <[email protected]>
  • Loading branch information
1 parent 4d50aa6 commit 11e3e57
Showing 1 changed file with 18 additions and 8 deletions.
26 changes: 18 additions & 8 deletions website/content/docs/platform/k8s/vso/installation.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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

<Note title="Important">

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+.

</Note>

## Upgrading using Helm

You can upgrade an existing installation with the `helm upgrade` command.
Expand All @@ -55,15 +65,15 @@ Hang tight while we grab the latest from your chart repositories...
Update Complete. ⎈Happy Helming!⎈
```

## Updating CRDs when using Helm

<Note title="Important">

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+.
To upgrade your VSO release, replace `<TARGET_VSO_VERSION>` with the VSO version you are upgrading to:
```shell-session
$ helm upgrade --version <TARGET_VSO_VERSION> --namespace vault-secrets-operator vault-secrets-operator hashicorp/vault-secrets-operator
```

</Note>
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.
Expand Down

0 comments on commit 11e3e57

Please sign in to comment.