Skip to content

Commit

Permalink
Merge pull request #413 from vishalvivekm/domain-switching
Browse files Browse the repository at this point in the history
Domain switching
  • Loading branch information
vishalvivekm authored Nov 12, 2024
2 parents 126a87b + 799e1f7 commit b802e7e
Show file tree
Hide file tree
Showing 21 changed files with 38 additions and 38 deletions.
2 changes: 1 addition & 1 deletion .github/build/Makefile.core.mk
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ ADAPTER_URLS := ""
#-----------------------------------------------------------------------------
REMOTE_PROVIDER_LOCAL="http://localhost:9876"
MESHERY_CLOUD_DEV="http://localhost:9876"
MESHERY_CLOUD_PROD="https://meshery.layer5.io"
MESHERY_CLOUD_PROD="https://cloud.layer5.io"
MESHERY_CLOUD_STAGING="https://staging-meshery.layer5.io"

#-----------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion content/en/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ onmouseover="changeImage('meshery', 'images/logos/meshery-light.svg')" onmouseou
</a></div>

<div class="catalog-card">
<a href="https://meshery.layer5.io/catalog">
<a href="https://cloud.layer5.io/catalog">
<div class="landing-card">
<div class= "catalog-section catalog-logo">
<span class="landing-card-title">Meshery Catalog</span>
Expand Down
4 changes: 2 additions & 2 deletions content/en/cloud/catalog/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ description: >
---

{{%pageinfo%}}
Public Catalog: https://meshery.layer5.io/catalog
Public Catalog: https://cloud.layer5.io/catalog
{{%/pageinfo%}}

{{< figure src="/cloud/catalog/images/delivering-catalog-content.svg" alt="Delivering-catalog-content" class="image-center-shadow" >}}


The Cloud Catalog is a web-based, public catalog to facilitate easy discovery of existing designs. Designs that are published into the catalog can be, but are not always curated for known best practices and patterns. Content is published at [meshery.layer5.io/catalog](https://meshery.layer5.io/catalog), and one-click import of catalog content into Meshery Server is seamlessly integrated.
The Cloud Catalog is a web-based, public catalog to facilitate easy discovery of existing designs. Designs that are published into the catalog can be, but are not always curated for known best practices and patterns. Content is published at [cloud.layer5.io/catalog](https://cloud.layer5.io/catalog), and one-click import of catalog content into Meshery Server is seamlessly integrated.

![Flow for sharing design](./images/Slide51.svg)

Expand Down
4 changes: 2 additions & 2 deletions content/en/cloud/catalog/leaderboard.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ Metrics are quantifiable measures used to track and assess the status, progress,

### How to Access the Leaderboard

1. Open the design catalog on the _Layer5 Cloud_ catalog page at [Layer5 Cloud Catalog](https://meshery.layer5.io/catalog).
1. Open the design catalog on the _Layer5 Cloud_ catalog page at [Layer5 Cloud Catalog](https://cloud.layer5.io/catalog).

2. By clicking on the Leaderboard icon button, you will be redirected to the [Leaderboard](https://meshery.layer5.io/catalog/leaderboard) page.
2. By clicking on the Leaderboard icon button, you will be redirected to the [Leaderboard](https://cloud.layer5.io/catalog/leaderboard) page.
![Leaderboard Button](/cloud/catalog/images/leaderboard_button.png)

3. The Leaderboard page will show you the top 10 designs based on the Metrics.
Expand Down
2 changes: 1 addition & 1 deletion content/en/cloud/catalog/metrics.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ description: >

Metrics provide valuable insights into how users engage with the designs, allowing us to understand usage patterns, identify trends, and make data-driven decisions to improve the user experience.

The design catalog can be accessed from the _Layer5 Cloud_ catalog page at [Layer5 Cloud Catalog](https://meshery.layer5.io/catalog).
The design catalog can be accessed from the _Layer5 Cloud_ catalog page at [Layer5 Cloud Catalog](https://cloud.layer5.io/catalog).

{{< alert title="Note" >}}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ description: With this guide, you can create amazing cloud native designs for yo
weight: 2
---

[Meshery Catalog](https://meshery.layer5.io/catalog) functions much like a cloud marketplace, providing a user-friendly interface for browsing, discovering, and sharing configurations and patterns for cloud native infrastructure. With Meshery Catalog, you can easily find,clone and deploy Kubernetes-based infrastructure and tools, making it easy to streamline your cloud native development and operations processes.
[Meshery Catalog](https://cloud.layer5.io/catalog) functions much like a cloud marketplace, providing a user-friendly interface for browsing, discovering, and sharing configurations and patterns for cloud native infrastructure. With Meshery Catalog, you can easily find,clone and deploy Kubernetes-based infrastructure and tools, making it easy to streamline your cloud native development and operations processes.

## Cloning a design from a template in the Meshery Catalog

1. Sign into [Layer5 Cloud](https://meshery.layer5.io)
1. Sign into [Layer5 Cloud](https://cloud.layer5.io)
2. Explore the catalogs located in the menu section.
3. Search by technology or type and find the best template for your infrastructure. You will already see some of the information just by hovering on it.
4. For detailed information just click on it.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ The first steps in starting with Layer5 are to create an account, verify your em

### 1. Creating an account

To sign up for an account on Layer5 Cloud, navigate to <https://meshery.layer5.io/signup>.
To sign up for an account on Layer5 Cloud, navigate to <https://cloud.layer5.io/signup>.
You may choose to either signup with your personal email or any of our supported OAuth providers like Github and Gmail. See "OAuth Providers" for more information.

![Flow for user account creation](/cloud/getting-started/images/Slide40.svg)
Expand All @@ -33,7 +33,7 @@ Optionally, after you have configured 2FA, add a passkey to your account to enab

### 3. Signing in to Layer5 Cloud

To sign in to Layer5 Cloud, navigate to <https://meshery.layer5.io/login>. Use your new credentials to sign in. In case you have signed up with OAuth provider, you will be redirected to the provider's login page.
To sign in to Layer5 Cloud, navigate to <https://cloud.layer5.io/login>. Use your new credentials to sign in. In case you have signed up with OAuth provider, you will be redirected to the provider's login page.
On successful login, you will be prompted to setup your first organization and workspace.


Expand Down
6 changes: 3 additions & 3 deletions content/en/cloud/getting-started/github-integration.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ You can commence the integration process from the "**Extensions Page in Meshery*

### Navigate to the Integrations Page via the Layer5 Cloud Dashboard

1. On [Layer5 Cloud](https://meshery.layer5.io/dashboard), click on the **menu icon** on the navigation bar to open the global navigation menu.
1. On [Layer5 Cloud](https://cloud.layer5.io/dashboard), click on the **menu icon** on the navigation bar to open the global navigation menu.

![Dashboard](/cloud/getting-started/images/github/dashboard.png)

Expand Down Expand Up @@ -150,7 +150,7 @@ You have successfully Integrated GitHub with Meshery! This page provides an over

To view imported designs:

1. Go to [Meshery Catalog](https://meshery.layer5.io/catalog).
1. Go to [Meshery Catalog](https://cloud.layer5.io/catalog).
1. Click on **My Designs** on the navigation bar.

![Catalog](/cloud/getting-started/images/github/catalog.png)
Expand All @@ -170,7 +170,7 @@ On the Connections page in Meshery:
1. Identify the connection and click on its checkbox.
1. Click **Delete**.

On the [Integrations Page in Layer5 Cloud](https://meshery.layer5.io/spaces/integrations) page:
On the [Integrations Page in Layer5 Cloud](https://cloud.layer5.io/spaces/integrations) page:

1. Click on the GitHub Connection.
![Select Connection](/cloud/getting-started/images/github/select_connection.png)
Expand Down
2 changes: 1 addition & 1 deletion content/en/cloud/getting-started/support.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ You can contact Layer5 support in the following ways:

If you've forgotten your Layer5 Cloud account password, don't worry. You can easily recover your account using the following steps:

1. Go to the Layer5 Cloud [login page](https://meshery.layer5.io/login).
1. Go to the Layer5 Cloud [login page](https://cloud.layer5.io/login).

2. On the login page, click on the "Forgot Password" link below the login form.

Expand Down
4 changes: 2 additions & 2 deletions content/en/cloud/github-actions/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Kanvas serves as a fundamental component, providing visual insights into infrast

#### Step 1: Get access to Kanvas

To integrate Snapshots into your GitHub pull requests, confirm that your user account has Kanvas access. To do so, sign into your Layer5 Cloud account and look forIf your user account doesn't have access, [simply request access](https://meshery.layer5.io/account/subscriptions) to Kanvas.
To integrate Snapshots into your GitHub pull requests, confirm that your user account has Kanvas access. To do so, sign into your Layer5 Cloud account and look forIf your user account doesn't have access, [simply request access](https://cloud.layer5.io/account/subscriptions) to Kanvas.

#### Step 2: Enable Kanvas Snapshot Action

Expand All @@ -41,7 +41,7 @@ To integrate Snapshots into your GitHub pull requests, confirm that your user ac
1. Specify the path within your Git repository where the application configurations are stored. This ensures Meshery knows where to find and visuzlie the desired state of your infrastructure.

{{%pageinfo%}}
The Meshery GitHub App requires authorization to interact with your repositories. If you would like to use your GitHub user's personal access token, instead, [please let us know](https://meshery.layer5.io/support). {{%/pageinfo%}}
The Meshery GitHub App requires authorization to interact with your repositories. If you would like to use your GitHub user's personal access token, instead, [please let us know](https://cloud.layer5.io/support). {{%/pageinfo%}}


## Customizing Snapshot Workflow Triggers in Kanvas Snapshot
Expand Down
4 changes: 2 additions & 2 deletions content/en/cloud/identity/users/notification-preferences.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ Layer5 Cloud offers a range of user-configurable preferences that allows you to

## To change the notification preferences

1. Sign into [Layer5 Cloud](https://meshery.layer5.io)
1. Sign into [Layer5 Cloud](https://cloud.layer5.io)

2. Visit **Account** > [Preferences](https://meshery.layer5.io/account/preferences)
2. Visit **Account** > [Preferences](https://cloud.layer5.io/account/preferences)

3. Under “Notifications,” choose what notifications you want to receive:
- **Acknowledgment:** You'll receive notifications about badges you've been awarded and related updates.
Expand Down
4 changes: 2 additions & 2 deletions content/en/cloud/reference/api-reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ To create integrations, retrieve data, and automate your cloud native infrastruc

## Authenticating with the API

In order to authenticate to Layer5 Cloud's REST API, you need to generate and use a [security token](../security/tokens). Visit your [user account's security tokens](https://meshery.layer5.io/security/tokens) and generate a long-lived security token. Security tokens are without expiration date. You can generate as many tokens as you like. You can also revoke them at any time.
In order to authenticate to Layer5 Cloud's REST API, you need to generate and use a [security token](../security/tokens). Visit your [user account's security tokens](https://cloud.layer5.io/security/tokens) and generate a long-lived security token. Security tokens are without expiration date. You can generate as many tokens as you like. You can also revoke them at any time.

To authenticate with the API, pass the token as a bearer token in the `Authorization` header. For example, in cURL:

Expand All @@ -28,5 +28,5 @@ curl <protocol>://<Layer5-cloud-hostname>/<API> \
## All API Endpoints

{{< alert type="info" >}}
<a href="https://meshery.layer5.io/system/api/docs">Open API Endpoints in new window <i class="fa fa-external-link" aria-hidden="true"></i></a>
<a href="https://cloud.layer5.io/system/api/docs">Open API Endpoints in new window <i class="fa fa-external-link" aria-hidden="true"></i></a>
{{< /alert >}}
2 changes: 1 addition & 1 deletion content/en/cloud/security/keys.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ If you don't have permission to view keys for your selected organization, you wi
#### Assign Keys

1. Select the organization for which you wish to assign keys to users. You can do this by selecting the organization from the organization context switcher in the top navigation bar.
2. Navigate to [Keychains](https://meshery.layer5.io/security/keychains) page.
2. Navigate to [Keychains](https://cloud.layer5.io/security/keychains) page.
3. Choose from the existing set of keychains or create a new keychain to which you want to assign keys. For more information, see [Keychains](/cloud/security/keychains).
4. Choose one more of your desired keys from the list of available keys.
5. Navigate to the [Roles](https://cloud.layer5.io/security/roles) page.
Expand Down
4 changes: 2 additions & 2 deletions content/en/cloud/security/sessions.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Session OAuth tokens are stored in your user-agent (web browser) in a cookie. Th

## Creating and using sessions

A session is created each time a user successfully authenticates. See all active sessions on your [user account's security sessions page](https://meshery.layer5.io/security/sessions).
A session is created each time a user successfully authenticates. See all active sessions on your [user account's security sessions page](https://cloud.layer5.io/security/sessions).

To use a session, sign into your Layer5 Cloud user account, thereby creating a new session. Your session's token will automatically be stored in your web browser using a cookie. To use that same session, simply use the same browser until the session expires. You can have multiple sessions active concurrently, whether on the same device or different device. Each session receives it's own authentication token and expiry time.

Expand All @@ -27,4 +27,4 @@ To use a session, sign into your Layer5 Cloud user account, thereby creating a n

You can revoke your sessions at any time. When you revoke a session, it is immediately invalidated and cannot be used to make requests to the API. Revoking a session also revokes any refresh tokens associated with that session.

See [Sessions](https://meshery.layer5.io/security/sessions) in Layer5 Cloud.
See [Sessions](https://cloud.layer5.io/security/sessions) in Layer5 Cloud.
4 changes: 2 additions & 2 deletions content/en/cloud/security/tokens.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Access tokens are opaque tokens that conform to the OAuth 2.0 framework. They co

You can create a token for your user account at any time. Tokens never expire, but can be revoked. You can also give the token a descriptive label. This label will be shown in the list of tokens on your user account's security tokens page.

See [Tokens](https://meshery.layer5.io/security/tokens) in Layer5 Cloud.
See [Tokens](https://cloud.layer5.io/security/tokens) in Layer5 Cloud.

## Using tokens

Expand All @@ -33,4 +33,4 @@ Authorization: mdJhY2Nlc3NfdG9rgW4iOiJleUpoYkdjaU9pSlNVekkxTmlJc0ltdHBaQ0k2SW5CM

You can revoke an access token at any time. When you revoke an access token, it is immediately invalidated and cannot be used to make requests to the API. Revoking an access token also revokes any refresh tokens associated with that access token.

See [Tokens](https://meshery.layer5.io/security/tokens) in Layer5 Cloud.
See [Tokens](https://cloud.layer5.io/security/tokens) in Layer5 Cloud.
6 changes: 3 additions & 3 deletions content/en/cloud/self-hosted/white-labeling/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ This example includes a custom branding with colors and logo mark as would be di

### Uploading Your Logo

On the [Organizations page](https://meshery.layer5.io/identity/organizations), you can upload your custom logo for your organization.
On the [Organizations page](https://cloud.layer5.io/identity/organizations), you can upload your custom logo for your organization.

1. Go to Menu and then [**Identity** > **Organization**].
1. To open the Edit window, click the pencil icon next to the organization name.
Expand Down Expand Up @@ -112,7 +112,7 @@ Layer5 Cloud supports customizing the login screen based on custom domain name.
<!-- {{< youtube id=hZuhmP7lenk title="Example: Replace the Layer5 logo with your own logo." >}} -->
<iframe width="560" height="315" src="https://www.youtube.com/embed/hZuhmP7lenk?si=1o8KLhk3K-HeJCcm" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>

<p style="text-align:center; font-style: italic;">Example: Layer5 Cloud custom branding on login screen with CNCF branding. Live example: <a href="https://meshery.layer5.io/signup?program=cncf">https://meshery.layer5.io/signup?program=cncf</a></p>
<p style="text-align:center; font-style: italic;">Example: Layer5 Cloud custom branding on login screen with CNCF branding. Live example: <a href="https://cloud.layer5.io/signup?program=cncf">https://cloud.layer5.io/signup?program=cncf</a></p>

A subdomain is the part of a URL before the root domain. You can configure your subdomain as www or as a distinct section of your site, like hub.cncf.io.

Expand All @@ -130,7 +130,7 @@ Under "Custom domain", type your custom domain, then click Save. This will creat

*Note: If your custom domain is an internationalized domain name, you must enter the Punycode encoded version.*

Navigate to your DNS provider and create a CNAME record that points your subdomain to the default domain for your site. For example, if you want to use the subdomain `hub.cncf.io` for your user site, create a CNAME record that points `hub.cncf.io` to `meshery.layer5.io`. For more information about how to create the correct record, see your DNS provider's documentation.
Navigate to your DNS provider and create a CNAME record that points your subdomain to the default domain for your site. For example, if you want to use the subdomain `hub.cncf.io` for your user site, create a CNAME record that points `hub.cncf.io` to `cloud.layer5.io`. For more information about how to create the correct record, see your DNS provider's documentation.

{{< alert title="Warning" color="warning" >}}
Warning: We strongly recommend that you do not use wildcard DNS records, such as `*.example.com`. These records put you at an immediate risk of domain takeovers, even if you verify the domain. For example, if you verify example.com this prevents someone from using `a.example.com`, but they could still take over `b.a.example.com` (which is covered by the wildcard DNS record).
Expand Down
2 changes: 1 addition & 1 deletion content/en/cloud/tutorials/assigning-user-badges.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ See the **Recognition** section of the [Layer5 Community Handbook](https://layer
To share your badges on other social profiles, utilize the provided embedded code and direct share functionality. Access your badges from the Layer5 Cloud profile badges section, and then use it to post your achievements on social media platforms seamlessly. This enables you to showcase your Layer5 contributions and milestones to a wider audience.
##### Follow these steps to display your badge:

1. Visit your [Layer5 Cloud](https://meshery.layer5.io/) Profile to see the badges
1. Visit your [Layer5 Cloud](https://cloud.layer5.io/) Profile to see the badges
2. Click on the badge, which you wanted to display
3. Copy the html or the markdown code by clicking the Embed Code icon
4. Paste the code in your site
Expand Down
6 changes: 3 additions & 3 deletions content/en/cloud/tutorials/gitops-snapshots.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@ View the Meshery GitHub App in the [GitHub Marketplace](https://github.com/marke

## Enabling and Configuring Snapshots

1. Sign into [Layer5 Cloud](https://meshery.layer5.io)
1. Visit Connections and click [Create on the GitHub connection](https://meshery.layer5.io/connect/github/new).
1. Sign into [Layer5 Cloud](https://cloud.layer5.io)
1. Visit Connections and click [Create on the GitHub connection](https://cloud.layer5.io/connect/github/new).
1. Use the multi-step connection wizard to authorize Meshery to access your GitHub repositories (you may need to sign into GitHub).
1. Once you have authorized Meshery to access your GitHub repositories, you will be redirected back to Layer5 Cloud. You should see a success message.
1. Identify the path to either one or more Meshery Designs, Helm Charts, Kubernetes Manifests, or Docker Compose files.
1. You will establish a secret for the Meshery GitHub app and a new workflow to be invoked when a new snapshot is needed.
1. Customize the workflow on event trigger to match your needs.

You can always return to the [GitHub connection](https://meshery.layer5.io/connect/github) to update the connection or to add additional repositories.
You can always return to the [GitHub connection](https://cloud.layer5.io/connect/github) to update the connection or to add additional repositories.



Expand Down
2 changes: 1 addition & 1 deletion content/en/cloud/tutorials/sharing-a-workspace.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Step 1: Find the design you want to share

**Share a single design**

In your browser, go to [Layer5 Cloud](https://meshery.layer5.io).
In your browser, go to [Layer5 Cloud](https://cloud.layer5.io).
1. Click the design you want to share.
2. Click Share.
3. Enter the email addresses of the individual(s) you want to share with.
Expand Down
Loading

0 comments on commit b802e7e

Please sign in to comment.