-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: improve helm installation process
- add login instructions partial Signed-off-by: Piotr Zaniewski <[email protected]>
- Loading branch information
Showing
2 changed files
with
118 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
import Tabs from "@theme/Tabs"; | ||
import TabItem from "@theme/TabItem"; | ||
|
||
If you haven't setup the domain in `values.yaml`, you can retrieve the domain | ||
from the secret `loft-router-domain` in the installation namespace. | ||
|
||
:::info | ||
vCluster automatically provisions a random domain using the `loft-router` | ||
component and stores the value in the `loft-router-domain` secrer | ||
::: | ||
|
||
Here is how to retrieve the domain name from the secret. | ||
|
||
<Tabs | ||
defaultValue="linux" | ||
values={[ | ||
{ label: 'Linux and WSL', value: 'linux' }, | ||
{ label: 'macOS', value: 'macos' }, | ||
]} | ||
> | ||
<TabItem value="linux"> | ||
|
||
To retrieve the domain from the secret on **Linux**, run: | ||
|
||
```bash | ||
PLATFORM_NAMESPACE=vcluster-platform | ||
echo "https://$(kubectl get secret loft-router-domain \ | ||
-n "$PLATFORM_NAMESPACE" \ | ||
-o jsonpath="{.data.domain}" \ | ||
| base64 --decode)" | ||
``` | ||
|
||
</TabItem> | ||
<TabItem value="macos"> | ||
|
||
To retrieve the domain from the secret on **macOS**, run: | ||
|
||
```bash | ||
PLATFORM_NAMESPACE=vcluster-platform | ||
echo "https://$(kubectl get secret loft-router-domain \ | ||
-n "$PLATFORM_NAMESPACE" \ | ||
-o jsonpath="{.data.domain}" \ | ||
| base64 -D)" | ||
``` | ||
|
||
</TabItem> | ||
</Tabs> | ||
|
||
:::info | ||
Default credentials for testing purposes: | ||
- Username: admin | ||
- Password: my-password | ||
::: | ||
|
||
You can easily change the default `username` and `password` in the vcluster.yaml | ||
[configuration](/platform/configure/config#changing-vcluster-platform-config). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters