Skip to content

Commit 2a357a4

Browse files
authored
Merge branch 'master' into huzfm/mobile-responsive
2 parents 69d07e9 + a1f0575 commit 2a357a4

1,267 files changed

Lines changed: 9140 additions & 9910 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.desktop-lighthouserc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ module.exports = {
1313
"http://localhost/cloud-native-management/kanvas/index.html?desktop",
1414
"http://localhost/learn/learning-paths/index.html?desktop",
1515
"http://localhost/learn/service-mesh-books/index.html?desktop",
16-
"http://localhost/learn/service-mesh-workshops/index.html?desktop",
16+
"http://localhost/learn/workshops/index.html?desktop",
1717
"http://localhost/learn/index.html?desktop",
1818
"http://localhost/blog/index.html?desktop",
1919
"http://localhost/resources/index.html?desktop",

.github/labeler.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ area/learn:
5151
- "src/components/Learn-Components/**/*"
5252
- "src/collections/service-mesh-books/**/*"
5353
- "src/collections/service-mesh-learn/**/*"
54-
- "src/collections/service-mesh-workshops/**/*"
54+
- "src/collections/workshops/**/*"
5555
- "src/templates/book-*.js"
5656
- "src/templates/course-*.js"
5757
- "src/templates/lab-*.js"

.lighthouserc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ module.exports = {
1111
"http://localhost/cloud-native-management/kanvas/index.html",
1212
"http://localhost/learn/learning-paths/index.html",
1313
"http://localhost/learn/service-mesh-books/index.html",
14-
"http://localhost/learn/service-mesh-workshops/index.html",
14+
"http://localhost/learn/workshops/index.html",
1515
"http://localhost/learn/index.html",
1616
"http://localhost/blog/index.html",
1717
"http://localhost/resources/index.html",

README.md

Lines changed: 1 addition & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -59,17 +59,6 @@
5959
<br />
6060

6161

62-
<p style="clear:both;">
63-
<h2><a href="https://layer5.io/landscape">Service Mesh Landscape</a></h2>
64-
<a href="https://layer5.io/landscape"><img src=".github/assets/images/buttons/landscape.webp"
65-
style="float:left;margin:10px;" width="125px"
66-
alt="Service Mesh Landscape Ecosystem" align="left"/></a>
67-
The <a href="https://layer5.io/landscape">Service Mesh Landscape</a> is a comprehensive collection of prominent service mesh projects and offerings laid out in contrast to one another.
68-
<br /><br /><br />
69-
</p>
70-
<br />
71-
72-
7362
<p style="clear:both;">
7463
<h2><a href="https://layer5.io/projects/cloud-native-performance">Cloud Native Performance</a></h2>
7564
<a href="https://layer5.io/projects/cloud-native-performance">
@@ -91,7 +80,7 @@ The <a href="https://layer5.io/projects/cloud-native-performance">Cloud Native P
9180
style="float:left;margin:10px;" width="125px"
9281
alt="Image Hub" align="left" /></a>
9382
<a href="https://layer5.io/projects/image-hub">Image Hub</a> is a demo application which runs on <a href="https://docs.meshery.io/service-meshes/adapters/consul">Consul</a> and facilitates exploring WebAssembly modules used as Envoy Filters.
94-
Image Hub supports Envoy-based data planes. It is compatible with and can be deployed on Istio and Consul service meshes.
83+
Image Hub supports Envoy-based data planes. It is compatible with and can be deployed on Istio and Consul.
9584
<br /><br /><br />
9685
</p>
9786
<br />
@@ -121,18 +110,6 @@ alt="Learn Layer5" align="left" />
121110
</p>
122111
<br />
123112

124-
125-
<!-- <p style="clear:both;">
126-
<h2><a href="https://layer5.io/smi">Service Mesh Interface Conformance </a></h2>
127-
<a href="https://layer5.io/smi"><img src=".github/assets/images/smi-conformance/checklist.svg"
128-
style="float:left;margin:10px;" width="125px"
129-
alt="Service Mesh Interface Conformance" align="left" /></a>
130-
<a href="https://layer5.io/smi">SMI Conformance</a> includes all service mesh projects participating in the Service Mesh Interface specification. It is an easy-to-use, service mesh and SMI-specific tool to give service mesh projects and users a suite of repeatable conformance tests.
131-
<br /><br /><br />
132-
</p>
133-
<br />
134-
-->
135-
136113
<p style="clear:both;">
137114
<h2><a href="https://layer5.io/projects/nighthawk">Nighthawk</a></h2>
138115
<a href="https://getnighthawk.dev/">

content-learn/mastering-kubernetes-for-engineers/ambassador-edge-stack-api-gateway-with-meshery/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
docType: "Course"
33
title: "Course"
4-
description: "This course will guide you through the process of deploying and visualizing Edge Stack components with Meshery. You will learn how to install and configure the Ambassador API Gateway and explore its integration with Meshery. Additionally, you will gain hands-on experience with two popular service meshes, Istio and Linkerd. By the end of this course, you will have a solid understanding of Edge Stack deployment and be able to leverage Meshery for managing your API gateway and service mesh configurations."
4+
description: "This course will guide you through the process of deploying and visualizing Edge Stack components with Meshery. You will learn how to install and configure the Ambassador API Gateway and explore its integration with Meshery. Additionally, you will gain hands-on experience with Istio and Linkerd. By the end of this course, you will have a solid understanding of Edge Stack deployment and be able to leverage Meshery for managing your API gateway and infrastructure configurations."
55
videos: 0
66
lectures: 4
77
courseTitle: "Ambassador Edge Stack API Gateway with Meshery"

content-learn/mastering-meshery/introduction-to-meshery/meshery/creating-designs.mdx

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import importDesignImage from "../../../../src/assets/images/learning-path/creat
1919
import configuringImportedDesignImage from "../../../../src/assets/images/learning-path/creating-designs/configuring-imported-design.png";
2020
import mesheryHelmChartImage from "../../../../src/assets/images/learning-path/creating-designs/meshery-helm-chart.png";
2121
import cloneDesignImage from "../../../../src/assets/images/learning-path/creating-designs/clone-design.png";
22-
import listOfDesignsImage from "../../../../src/assets/images/learning-path/creating-designs/list-of-designs.png";
22+
import renderedDesign from "../../../../src/assets/images/learning-path/creating-designs/rendered-design.png";
2323
import catalogImage from "../../../../src/assets/images/learning-path/creating-designs/catalog.png";
2424
import openInPlaygroundImage from "../../../../src/assets/images/learning-path/creating-designs/open-in-playground.png";
2525
import { ChapterStyle } from "../../../../src/components/Learn-Components/Chapters-Style/chapters.style.js";
@@ -117,15 +117,13 @@ When working with Kanvas, you can effortlessly integrate various design files to
117117

118118
2. Enter a name for the design in the **Design File Name** field.
119119

120-
3. Choose the appropriate **Design Type** for the file you want to import (Helm Chart, Kubernetes, Manifest, etc).
121-
122-
4. Select your preferred import method: either **URL** or **File Upload**.
120+
3. Select your preferred import method: either **URL** or **File Upload**.
123121

124122
<a href={configuringImportedDesignImage}>
125123
<img src={configuringImportedDesignImage} width="100%" align="center" />
126124
</a>
127125

128-
5. **Example:** Use the Meshery Server Helm chart at [Meshery Helm Chart](https://meshery.github.io/meshery.io/charts/meshery-v0.7.48.tgz).
126+
4. **Example:** Use the Meshery Server Helm chart at [Meshery Helm Chart](https://meshery.github.io/meshery.io/charts/meshery-v0.7.48.tgz).
129127

130128
<a href={mesheryHelmChartImage}>
131129
<img src={mesheryHelmChartImage} width="100%" align="center" />
@@ -139,7 +137,7 @@ When working with Kanvas, you can effortlessly integrate various design files to
139137

140138
1. Switch to Kanvas Designer mode, if not already in it.
141139

142-
2. In the left navigation panel, click the **Catalog** menu tab.
140+
2. From the canvas, click the **Start From Template** tab.
143141

144142
3. Select a design from the list that appears in the panel.
145143

@@ -151,12 +149,12 @@ When working with Kanvas, you can effortlessly integrate various design files to
151149

152150
5. Click **“clone”** and a copy of the design will appear on your Kanvas canvas. You can then configure the design to suit your purposes.
153151

154-
6. Find your newly cloned design in the list of designs in the left navigation panel.
155-
156-
<a href={listOfDesignsImage}>
157-
<img src={listOfDesignsImage} width="100%" align="center" />
152+
<a href={renderedDesign}>
153+
<img src={renderedDesign} width="100%" align="center" />
158154
</a>
159155

156+
6. Find your newly cloned design in the list of designs in your workspace.
157+
160158
<h2 class="chapter-sub-heading">Github Integrations</h2>
161159

162160
Integrating your GitHub account with Meshery unlocks the ability to import files as designs directly from your repositories, enhancing your collaboration and version control processes. This integration allows you to streamline your workflow, ensuring that your design infrastructure is always up-to-date and aligned with your source code. To get started with integrating GitHub into Meshery, follow the comprehensive guide available [here](https://docs.layer5.io/cloud/getting-started/github-integration/).

gatsby-config.js

Lines changed: 99 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,28 @@ module.exports = {
1313
},
1414
flags: {
1515
FAST_DEV: true,
16-
PARALLEL_SOURCING: true
16+
PARALLEL_SOURCING: true,
1717
},
1818
trailingSlash: "never",
1919
plugins: [
20+
{
21+
resolve: "gatsby-plugin-netlify",
22+
options: {
23+
headers: {
24+
"/*": [
25+
"X-Frame-Options: SAMEORIGIN",
26+
"Content-Security-Policy: frame-ancestors 'self'",
27+
],
28+
},
29+
mergeSecurityHeaders: true,
30+
mergeCachingHeaders: true,
31+
},
32+
},
2033
{
2134
resolve: "gatsby-plugin-webpack-bundle-analyser-v2",
2235
options: {
23-
disable: true
24-
}
36+
disable: true,
37+
},
2538
},
2639
{
2740
resolve: "gatsby-plugin-sitemap",
@@ -41,10 +54,8 @@ module.exports = {
4154
}
4255
}
4356
`,
44-
resolvePages: ({
45-
allSitePage: { nodes: allPages },
46-
}) => {
47-
return allPages.map(page => {
57+
resolvePages: ({ allSitePage: { nodes: allPages } }) => {
58+
return allPages.map((page) => {
4859
return { ...page };
4960
});
5061
},
@@ -73,8 +84,8 @@ module.exports = {
7384
// or disable plugins
7485
inlineStyles: false,
7586
cleanupIds: false,
76-
}
77-
}
87+
},
88+
},
7889
},
7990
],
8091
},
@@ -287,7 +298,71 @@ module.exports = {
287298
},
288299
{
289300
serialize: ({ query: { site, allPosts } }) => {
290-
return allPosts.nodes.map(node => {
301+
return allPosts.nodes.map((node) => {
302+
return Object.assign({}, node.frontmatter, {
303+
title: node.frontmatter.title,
304+
author: node.frontmatter.author,
305+
description:
306+
node.frontmatter.description || node.frontmatter.subtitle,
307+
date: node.frontmatter.date,
308+
url: site.siteMetadata.siteUrl + node.fields.slug,
309+
guid: site.siteMetadata.siteUrl + node.fields.slug,
310+
enclosure: node.frontmatter.thumbnail && {
311+
url:
312+
site.siteMetadata.siteUrl +
313+
node.frontmatter.thumbnail.publicURL,
314+
},
315+
custom_elements: [
316+
{ "content:encoded": node.html },
317+
{ "content:type": node.frontmatter.type },
318+
{ "content:category": node.frontmatter.category },
319+
{ "content:tags": node.frontmatter.tags?.join(", ") || "" },
320+
],
321+
});
322+
});
323+
},
324+
query: `{
325+
allPosts: allMdx(
326+
sort: {frontmatter: {date: DESC}}
327+
filter: {
328+
fields: {collection: {in: ["blog", "resources", "news", "events"]}},
329+
frontmatter: {
330+
published: { eq: true }
331+
category: { in: ["Meshery", "Announcements", "Events"] }
332+
tags: { in: ["Community", "Meshery", "mesheryctl"] }
333+
}
334+
}
335+
limit: 30
336+
) {
337+
nodes {
338+
body
339+
html
340+
frontmatter {
341+
title
342+
author
343+
description
344+
subtitle
345+
date(formatString: "MMM DD YYYY")
346+
type
347+
category
348+
thumbnail {
349+
publicURL
350+
}
351+
tags
352+
}
353+
fields {
354+
collection
355+
slug
356+
}
357+
}
358+
}
359+
}`,
360+
output: "/meshery-community-feed.xml",
361+
title: "Meshery RSSFeed",
362+
},
363+
{
364+
serialize: ({ query: { site, allPosts } }) => {
365+
return allPosts.nodes.map((node) => {
291366
return Object.assign({}, node.frontmatter, {
292367
title: node.frontmatter.title,
293368
author: node.frontmatter.author,
@@ -296,7 +371,9 @@ module.exports = {
296371
url: site.siteMetadata.siteUrl + node.fields.slug,
297372
guid: site.siteMetadata.siteUrl + node.fields.slug,
298373
enclosure: node.frontmatter.thumbnail && {
299-
url: site.siteMetadata.siteUrl + node.frontmatter.thumbnail.publicURL,
374+
url:
375+
site.siteMetadata.siteUrl +
376+
node.frontmatter.thumbnail.publicURL,
300377
},
301378
custom_elements: [{ "content:encoded": node.html }],
302379
});
@@ -328,11 +405,11 @@ module.exports = {
328405
}
329406
}`,
330407
output: "/blog/feed.xml",
331-
title: "Layer5 Blog"
408+
title: "Layer5 Blog",
332409
},
333410
{
334411
serialize: ({ query: { site, allPosts } }) => {
335-
return allPosts.nodes.map(node => {
412+
return allPosts.nodes.map((node) => {
336413
return Object.assign({}, node.frontmatter, {
337414
title: node.frontmatter.title,
338415
author: node.frontmatter.author,
@@ -341,7 +418,9 @@ module.exports = {
341418
url: site.siteMetadata.siteUrl + node.fields.slug,
342419
guid: site.siteMetadata.siteUrl + node.fields.slug,
343420
enclosure: node.frontmatter.thumbnail && {
344-
url: site.siteMetadata.siteUrl + node.frontmatter.thumbnail.publicURL,
421+
url:
422+
site.siteMetadata.siteUrl +
423+
node.frontmatter.thumbnail.publicURL,
345424
},
346425
custom_elements: [{ "content:encoded": node.html }],
347426
});
@@ -373,7 +452,7 @@ module.exports = {
373452
}
374453
}`,
375454
output: "/events/feed.xml",
376-
title: "Layer5 Events"
455+
title: "Layer5 Events",
377456
},
378457
],
379458
},
@@ -455,8 +534,8 @@ module.exports = {
455534
{
456535
resolve: "gatsby-source-filesystem",
457536
options: {
458-
path: `${__dirname}/src/collections/service-mesh-workshops`,
459-
name: "service-mesh-workshops",
537+
path: `${__dirname}/src/collections/workshops`,
538+
name: "workshops",
460539
},
461540
},
462541
{
@@ -514,8 +593,8 @@ module.exports = {
514593
options: {
515594
defaults: {
516595
placeholder: "blurred",
517-
}
518-
}
596+
},
597+
},
519598
},
520599
{
521600
resolve: "gatsby-transformer-sharp",
@@ -547,10 +626,9 @@ module.exports = {
547626
host: "https://layer5.io",
548627
sitemap: "https://layer5.io/sitemap-index.xml",
549628
policy: [{ userAgent: "*", allow: "/" }],
550-
}
629+
},
551630
},
552631
"gatsby-plugin-meta-redirect",
553632
// make sure this is always the last one
554633
],
555-
556634
};

gatsby-node.js

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,15 @@ exports.createPages = async ({ actions, graphql, reporter }) => {
7272
redirectInBrowser: true,
7373
isPermanent: true,
7474
});
75+
createRedirect({
76+
fromPath: "/learn/service-mesh-workshops",
77+
toPath: "/learn/workshops",
78+
redirectInBrowser: true,
79+
isPermanent: true,
80+
});
7581
createRedirect({
7682
fromPath: "/workshops",
77-
toPath: "/learn/service-mesh-workshops",
83+
toPath: "/learn/workshops",
7884
redirectInBrowser: true,
7985
isPermanent: true,
8086
});
@@ -511,7 +517,7 @@ exports.createPages = async ({ actions, graphql, reporter }) => {
511517
}
512518
}
513519
singleWorkshop: allMdx(
514-
filter: { fields: { collection: { eq: "service-mesh-workshops" } } }
520+
filter: { fields: { collection: { eq: "workshops" } } }
515521
) {
516522
nodes {
517523
fields {
@@ -923,7 +929,7 @@ exports.onCreateNode = ({ node, actions, getNode }) => {
923929
slug = `/company/${collection}/${slugify(node.frontmatter.title)}`;
924930
break;
925931
case "service-mesh-books":
926-
case "service-mesh-workshops":
932+
case "workshops":
927933
case "service-mesh-labs":
928934
slug = `/learn/${collection}/${slugify(node.frontmatter.title)}`;
929935
break;

0 commit comments

Comments
 (0)