Skip to content

Commit 02e82bc

Browse files
authored
Merge pull request #669 from zihanKuang/fix-import-design
Update Import Design Methods and Add Archive Support Notes
2 parents 7261b02 + 644517d commit 02e82bc

File tree

1 file changed

+12
-8
lines changed

1 file changed

+12
-8
lines changed

content/en/kanvas/getting-started/import-designs.md

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,21 +16,21 @@ aliases:
1616

1717
There are multiple ways to import a design.
1818

19-
**1. From [Kanvas](https://kanvas.new):**
19+
**1. Using Drag and Drop:**
20+
21+
You can drag a file from your local computer directly onto the Kanvas canvas to import a design.
22+
![Drag and Drop Import](/kanvas/getting-started/images/importing-designs/drag-drop.gif)
23+
24+
**2. From [Kanvas](https://kanvas.new) toolbar:**
2025

2126
The most direct method is to click the **hamburger menu** (☰) in the top-left corner, then select the "Import" button in the Kanvas toolbar.
2227
![File Import Process](/kanvas/getting-started/images/importing-designs/file-import.gif)
2328

24-
**2. From Layer5 Cloud:**
29+
**3. From Layer5 Cloud:**
2530

2631
Navigate to the [My Designs](https://cloud.layer5.io/catalog/content/my-designs) page and click the "Import" button.
2732
![Cloud Import Process](/kanvas/getting-started/images/importing-designs/cloud-url.gif)
2833

29-
**3. Using Drag and Drop:**
30-
31-
You can drag a file from your local computer directly onto the Kanvas canvas to import a design.
32-
![Drag and Drop Import](/kanvas/getting-started/images/importing-designs/drag-drop.gif)
33-
3434
**4. Via GitHub Integration:**
3535

3636
For a more advanced, repository-based workflow, you can establish a persistent connection between your GitHub account and Meshery. This allows you to browse your repositories and import multiple designs directly.
@@ -44,6 +44,10 @@ For the most flexibility, we recommend initiating the import from within Kanvas.
4444

4545
Kanvas supports a diverse set of infrastructure types and packaging formats. The following sections provide detailed requirements and instructions for each.
4646

47+
{{< alert type="info" title="Cannot Import Folders Directly" >}}
48+
You can't directly import folders. If your infrastructure definition (like Kustomize or Helm) is in a folder, you must compress it into a single archive file before uploading.
49+
{{< /alert >}}
50+
4751
{{< tabpane text=true >}}
4852

4953
{{% tab header="From Kubernetes Manifests" lang="en" active="true" %}}
@@ -58,7 +62,7 @@ Importing from a Kubernetes manifest is the most direct way to bring your existi
5862

5963
A key requirement when importing a Kustomize project is that you **must provide the entire project directory**, not just the `kustomization.yaml` file. This is because the `kustomization.yaml` file only contains instructions and references to other base manifest files. To correctly render the final configuration, Kanvas needs access to all of these related files.
6064

61-
- **Supported Packaging Formats:** A `.zip` archive containing the complete Kustomize project directory, including the `kustomization.yaml` file and all of its referenced resources.
65+
- **Supported Packaging Formats:** A archive (such as `.zip`, `.tar`, or `.tar.gz`) containing the complete Kustomize project directory. This archive must include the `kustomization.yaml` file and all of its referenced resources.
6266

6367
{{< /tab >}}
6468

0 commit comments

Comments
 (0)