Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: specify namespace in upgrading v3 to v4 doc #199

Merged
merged 1 commit into from
Jul 17, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading