Skip to content

Commit

Permalink
Added namespace to v3 to v4 upgrade instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Kosiewski committed Jul 19, 2024
1 parent 45c435a commit b3ecf7f
Showing 1 changed file with 6 additions and 12 deletions.
18 changes: 6 additions & 12 deletions platform/_partials/install/upgrade-v3-v4.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,16 @@ 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
cat > /tmp/vcluster-platform.yaml <<EOF
vcluster platform start --upgrade --namespace loft --version=$PLATFORM_VERSION --values=<(cat <<EOF
config:
projectNamespacePrefix: loft-p-
EOF

vcluster platform start --namespace loft --upgrade --version=$PLATFORM_VERSION --values=/tmp/vcluster-platform.yaml
```
</TabItem>
Expand All @@ -33,18 +31,14 @@ vcluster platform start --namespace loft --upgrade --version=$PLATFORM_VERSION -
To upgrade vCluster Platform from v3 to v4 via `helm`, run. Update `$PLATFORM_VERSION` with a valid vCluster Platform version.
```bash
# First set the project namespace prefix to use the v3 format
cat > /tmp/vcluster-platform.yaml <<EOF
config:
projectNamespacePrefix: loft-p-
EOF

helm upgrade loft vcluster-platform -n loft --repository-config '' --repo https://charts.loft.sh \
--version $PLATFORM_VERSION \
--reuse-values \
-f /tmp/vcluster-platform.yaml
-f <(cat <<EOF
config:
projectNamespacePrefix: loft-p-
EOF
```
</TabItem>
</Tabs>

0 comments on commit b3ecf7f

Please sign in to comment.