Skip to content

Commit

Permalink
Merge pull request #198 from loft-sh/thomaskosiewski/eng-4154-failure…
Browse files Browse the repository at this point in the history
…-to-upgrade-from-loft-v348-to-vcluster-platform-v400

Added namespace to v3 to v4 upgrade instructions
  • Loading branch information
deniseschannon authored Jul 19, 2024
2 parents 45c435a + b3ecf7f commit d0fe2cb
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 d0fe2cb

Please sign in to comment.