Skip to content

Commit

Permalink
fix: specify namespace in upgrading v3 to v4 doc
Browse files Browse the repository at this point in the history
Signed-off-by: Rohan CJ <[email protected]>
  • Loading branch information
rohantmp committed Jul 17, 2024
1 parent 07a3391 commit 48b7e06
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions platform/_partials/install/upgrade-v3-v4.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ Upgrade vCluster Platform from v3 to v4 via:
<TabItem value="cli">

To upgrade vCluster Platform from v3 to v4 via vCluster CLI, run. Update `$PLATFORM_VERSION` with a valid vCluster Platform version.

:::info Plaftorm Namsespace
The following steps assume the existing installation is in the default namespace `loft`. The default namespace for v4 is vcluster-platform, so we specify the namespace in the steps.
:::

```bash
# First set the project namespace prefix to use the v3 format
Expand All @@ -22,7 +24,7 @@ config:
projectNamespacePrefix: loft-p-
EOF

vcluster platform start --upgrade --version=$PLATFORM_VERSION --values=/tmp/vcluster-platform.yaml
vcluster platform start --namespace loft --upgrade --version=$PLATFORM_VERSION --values=/tmp/vcluster-platform.yaml
```

</TabItem>
Expand All @@ -37,7 +39,7 @@ config:
projectNamespacePrefix: loft-p-
EOF

helm upgrade loft vcluster-platform -n vcluster-platform --repository-config '' --repo https://charts.loft.sh \
helm upgrade loft vcluster-platform -n loft --repository-config '' --repo https://charts.loft.sh \
--version $PLATFORM_VERSION \
--reuse-values \
-f /tmp/vcluster-platform.yaml
Expand Down

0 comments on commit 48b7e06

Please sign in to comment.