-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
47 changed files
with
505 additions
and
260 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
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
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,7 @@ | ||
# Resources | ||
|
||
Resources are persisted by Kusion server. | ||
|
||
## Resource Graphs | ||
|
||
More to come... |
10 changes: 7 additions & 3 deletions
10
docs/kusion/3-concepts/8-configuration.md → ...kusion/3-concepts/11-cli-configuration.md
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
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
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
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
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,41 @@ | ||
# Module Registration | ||
|
||
After a module is published, it needs to be registered before it can be used in **Kusion server**. This is to help the server to accurately generate a necessary `kcl.mod` file that describes the dependency of a configurations (i.e. what modules can I use as a developer). | ||
|
||
This step is not required when using Kusion CLI. | ||
|
||
## APIs | ||
|
||
The APIs to manage workspaces can be found in the swagger docs under `{server-endpoint}/docs/index.html#/module`. | ||
|
||
## Register a module via Developer Portal | ||
|
||
To register a new module via the developer portal, switch to the `Modules` tab and click on `New Module`. | ||
|
||
 | ||
|
||
Fill out the module details. It's always recommended to provide a link to the module's documentation for developers to read. | ||
|
||
 | ||
|
||
## Edit a registered module | ||
|
||
To edit a registered module, click the `edit` button. | ||
|
||
 | ||
|
||
## Delete a registered module | ||
|
||
To delete a registered module, click the `delete` button. | ||
|
||
 | ||
|
||
## Generate kcl.mod | ||
|
||
To generate the `kcl.mod` for a stack targeting a workspace, go the workspace page and select `Available Modules`, then click on `Generate kcl.mod`. | ||
|
||
 | ||
|
||
A text box appears with the module dependency content generated. This should be copied and pasted into the `kcl.mod` file in the stack folder. | ||
|
||
 |
Oops, something went wrong.