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 17, 2024
1 parent aeb2ea9 commit 18a95b8
Showing 1 changed file with 7 additions and 13 deletions.
20 changes: 7 additions & 13 deletions platform/_partials/install/upgrade-v3-v4.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,12 @@ Upgrade vCluster Platform from v3 to v4 via:

To upgrade vCluster Platform from v3 to v4 via vCluster CLI, 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
vcluster platform start --upgrade --namespace loft --version=$PLATFORM_VERSION --values=<(cat << EOF
config:
projectNamespacePrefix: loft-p-
EOF

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

</TabItem>
Expand All @@ -31,18 +28,15 @@ vcluster platform start --upgrade --version=$PLATFORM_VERSION --values=/tmp/vclu
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
helm upgrade loft vcluster-platform -n loft --repository-config '' --repo https://charts.loft.sh \
--version $PLATFORM_VERSION \
--reuse-values \
-f <(cat << EOF
config:
projectNamespacePrefix: loft-p-
EOF

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

</TabItem>
</Tabs>

0 comments on commit 18a95b8

Please sign in to comment.