Skip to content

Commit

Permalink
Merge branch 'master' into patch-6
Browse files Browse the repository at this point in the history
  • Loading branch information
nwanduka authored Mar 22, 2024
2 parents 059ed28 + d045df9 commit 6c70189
Show file tree
Hide file tree
Showing 44 changed files with 810 additions and 521 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/generate-keys.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Import Keys
on:
workflow_dispatch:
inputs:
spreadsheet_uri:
description: Link of the spreadsheet containing keys.
type: string
default: https://docs.google.com/spreadsheets/d/e/2PACX-1vQwzrUSKfuSRcpkp7sJTw1cSB63s4HCjYLJeGPWECsvqn222hjaaONQlN4X8auKvlaB0es3BqV5rQyz/pub?gid=64355745&single=true&output=csv
jobs:
fetch-keys:
name: Fetch Keys
if: github.repository == 'layer5io/docs'
runs-on: ubuntu-22.04
steps:
- name: Check out code
uses: actions/checkout@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
fetch-depth: 1
- name: Set spreadsheet_uri as environment variable
run: echo "spreadsheet_uri=" >> $GITHUB_ENV
if: inputs.spreadshet_uri != ''
echo "spreadsheet_uri=${{ inputs.spreadsheet_uri }}" >> $GITHUB_ENV

- name: Dump keys from the spreadsheet
run: |
curl -L "${{ inputs.spreadsheet_uri }}" -o "./keys.csv";
- name: Create permissions folder
run: |
[ ! -d "./static/data/csv" ] && mkdir -p "./static/data/csv";
mv keys.csv static/data/csv/keys.csv;
- name: Commit changes
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: Added permissions keys.
branch: master
commit_options: '--signoff'
commit_user_name: l5io
commit_user_email: [email protected]
commit_author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>author of the commit that triggered the run
10 changes: 5 additions & 5 deletions .github/workflows/hugo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
build:
runs-on: ubuntu-latest
env:
HUGO_VERSION: 0.119.0
HUGO_VERSION: 0.122.0
steps:
- name: Install Hugo CLI
run: |
Expand All @@ -43,13 +43,13 @@ jobs:
- name: Install Dart Sass
run: sudo snap install dart-sass
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 0
- name: Setup Pages
id: pages
uses: actions/configure-pages@v3
uses: actions/configure-pages@v4
- name: Install Node.js dependencies
run: "[[ -f package-lock.json || -f npm-shrinkwrap.json ]] && npm ci || true"
- name: Build with Hugo
Expand All @@ -63,7 +63,7 @@ jobs:
--minify \
--baseURL "${{ steps.pages.outputs.base_url }}/"
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
uses: actions/upload-pages-artifact@v3
with:
path: ./public

Expand All @@ -77,4 +77,4 @@ jobs:
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
uses: actions/deploy-pages@v4
63 changes: 62 additions & 1 deletion assets/scss/_elements_project.scss
Original file line number Diff line number Diff line change
Expand Up @@ -88,4 +88,65 @@ div.tip {
height: 22%;
float: right;
border-radius: 50%;
}
}

.prevBtn {
$btn-color: $primary;
$btn-color-dark: shade($btn-color, 40%);
color: tint($btn-color);

&:before {
content: '';
// @include absolute(0,0,0,0);
background-color: $btn-color-dark;
transform: translateX(-100%);
}

&:hover {
color: tint($btn-color, 75%);

&:before {
transform: translateX(0);
}
}
}

.pagination-nav {
grid-gap: 1rem;
display: grid;
gap: 1rem;
grid-template-columns: repeat(2, 1fr);
}


.pagination-nav__link {
border: 1px solid $lightslategray;
border-radius: 0.4rem;
display: block;
height: 100%;
line-height: 1.25;
padding: 1rem;
transition: border-color 200ms cubic-bezier(0.08,0.52,0.52,1);
}

.pagination-nav__link:hover {
border-color: $primary;
}

.pagination-nav__link--next {
grid-column: 2 / 3;
text-align: right;
}

.pagination-nav__sublabel{
color:$light;
font-size:0.875rem;
font-weight:500;
margin-bottom: 0.25rem;
}

.pagination-nav__label {
font-size: 1rem;
font-weight: 600;
word-break: break-word;
}
6 changes: 3 additions & 3 deletions assets/scss/_variables_project.scss
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,9 @@ $font-qanelas: "Qanelas Soft", sans-serif, -apple-system, BlinkMacSystemFont,
"Segoe UI", Roboto, "Helvetica Neue", Arial, "Apple Color Emoji",
"Segoe UI Emoji", "Segoe UI Symbol";

@if $td-enable-google-fonts {
$td-fonts-serif: prepend($td-fonts-serif, "#{$google_font_name}");
}
// @if $td-enable-google-fonts {
// $td-fonts-serif: prepend($td-fonts-serif, "#{$google_font_name}");
// }

$font-family-sans-serif: $td-fonts-serif;
$font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas,
Expand Down
30 changes: 30 additions & 0 deletions content/en/charts/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
---
title: Layer5 Helm Repository
description: Layer5 Helm Repository contains a collection of charts, including Layer5 Cloud, which can be deployed in any Kubernetes cluster on-premises or in Cloud using Helm.
linkTitle: Layer5 Helm Repository
type: docs
menu: {main: {weight: 3}}
weight: 1
cascade:
type: docs
---

{{< alert type="info" title="Repository Only">}}
This page only contains a brief synopsis of the Helm repository.

See the [Self-Hosted section](/cloud/self-hosted/) of the Layer5 Cloud documentation for deployment prerequisites, considerations, and instructions.
{{< /alert >}}

## Repository Contents

Contained in the Layer5 Helm repository is the [Meshery Remote Provider](https://docs.meshery.io/extensibility/providers) charts (and it's subcharts) for Layer5 Cloud. See the repository's <a href="/charts/index.yaml">full index</a> of Layer5 Helm charts</a>.

## Chart Source

<p>The source for this chart is located in the <code>layer5io/meshery-cloud</code> repository under <a href="https://github.com/layer5io/meshery-cloud/tree/master/install/kubernetes/">install/kubernetes/</a>.</p>
<br />
{{< alert type="info" title="Complete Deployment Instructions">}}
Layer5 Cloud's Helm chart supports a number of [configuration options](https://docs.layer5.io/cloud/self-hosted/deploy-with-helm/).

See the [Self-Hosted section](/cloud/self-hosted/) of the Layer5 Cloud documentation for deployment prerequisites, considerations, and instructions.
{{< /alert >}}
2 changes: 2 additions & 0 deletions content/en/cloud/catalog/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ Public Catalog: https://meshery.layer5.io/catalog

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.

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

### Content Visibility

Each item in the catalog comes with an associated level of visibility.
Expand Down
1 change: 1 addition & 0 deletions content/en/cloud/catalog/images/Slide51.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,13 @@ The first steps in starting with Layer5 are to create an account, verify your em
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)

### 2. Verifying your email address

To ensure you can use all the features in your Layer5 plan, verify your email address after signing up for a new account. For more information, see "Verifying your email address."


<!-- considering we would want to use 2FA in future
4. Configuring two-factor authentication
Expand All @@ -30,9 +33,10 @@ 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://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.
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.
On successful login, you will be prompted to setup your first organization and workspace.


### 4. Creating an organization

Organization are unit of tenant in Layer5 Cloud. Every user on Layer5 Cloud is part of at least one organization. You can create your own organization or join an existing one. By default you are the owner of the organization you create.
Expand Down
1 change: 1 addition & 0 deletions content/en/cloud/getting-started/images/Slide40.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions content/en/cloud/getting-started/images/Slide49.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
34 changes: 34 additions & 0 deletions content/en/cloud/getting-started/support.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
---
title: Support
description: If you have any questions, encounter any issues, or need assistance with anything related to our platform, please don't hesitate to reach out to us.
weight: 1
---

At Layer5 Cloud, we're here to help you every step of the way. If you have any questions, encounter any issues, or need assistance with anything related to our platform, please don't hesitate to reach out to us. Our dedicated support team is committed to providing you with the help and guidance you need.

### Contacting Support

You can contact Layer5 support in the following ways:

- **Email**: Send us an email at [[email protected]](mailto:[email protected]) with your questions or concerns. Our support team will respond to you as soon as possible and assist you with resolving any issues.

- **Community Forum**: Join our vibrant [community forum](https://discuss.layer5.io/) where you can ask questions, share your experiences, and connect with other users. Our community members and moderators are here to help you and provide valuable insights and assistance.

### Account Recovery

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).

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

3. Enter the email address associated with your Layer5 Cloud account and click "Submit."

4. You'll receive an email with instructions on how to reset your password. Follow the instructions provided in the email to reset your password.

5. Once you've clicked the password reset link in the email, you'll be directed to a page where you can create a new password for your account. Enter your new password and confirm it, then click "Submit" to save your changes.

6. After successfully resetting your password, you can now login to your Layer5 Cloud account using your new password.

![Account Recovery](/cloud/getting-started/images/Slide49.svg)

40 changes: 0 additions & 40 deletions content/en/cloud/identity/organizations/default-permissions.md

This file was deleted.

Loading

0 comments on commit 6c70189

Please sign in to comment.