The violet
CLI tool is a platform-integrated utility that allows you to upload software packages from your custom portal to the platform. The tool supports three types of software packages: Operators, Cluster Plugins, and Helm charts.
System
and the role name must be platform-admin-system
Note: If your account has a role property set to
Custom
instead ofSystem
, you will not be able to use this tool, even if the role has allPlatform Management
permissions.
After downloading the tool, install it on your packaging or uploading server or personal PC.
For non-root users:
For root users:
violet.exe
or use PowerShell to rename it:Note: If you haven't added the tool path to your environment variables, you'll need to specify the full path to the tool when running commands.
Platform administrators can use violet show
to view and confirm package information before uploading.
Parameter | Description |
---|---|
args[0] | Required. The first parameter after the violet push command. Specify the file path of the package to be uploaded. For multiple packages, place them in the same directory and specify the directory path - the tool will automatically upload all packages in the directory. |
--platform-address | Required. The access address of the platform. |
--platform-username | Required. Username of a local user with the Platform Administrator role . |
--platform-password | Required. Password for the username. |
--skip-push | Optional. Add this parameter when you only need to create upload-related resources without pushing images. |
--force | Optional. Add this parameter to forcibly overwrite and update related resources when images in the package already exist on the platform. |
--target-chartrepo | Optional. Add this parameter when you need to upload to a specific catalogsource. |
--clusters | Optional. Add this parameter to specify which clusters to upload to. Separate multiple cluster names with commas, e.g., global,cluster1,cluster2 . If not specified, the package will be uploaded to the global cluster by default. |
--debug | Optional. Add this parameter when you need to print debug log information. |
Parameter | Description |
---|---|
args[0] | Required. The first parameter after the violet push command. Specify the file path of the package to be uploaded. For multiple packages, place them in the same directory and specify the directory path - the tool will automatically upload all packages in the directory. |
--platform-address | Required. The access address of the platform. |
--platform-username | Required. Username of a local user with the Platform Administrator role . |
--platform-password | Required. Password for the username. |
--skip-push | Optional. Add this parameter when you only need to create upload-related resources without pushing images. |
--force | Optional. Add this parameter to forcibly overwrite and update related resources when images in the package already exist on the platform. |
--debug | Optional. Add this parameter when you need to print debug log information. |
Tip: Uploading cluster plugins does not support specifying clusters. If you want to upload only to the
global
cluster, you need to configure ModulePlugin. For specific configuration methods, please contact technical support.
Parameter | Description |
---|---|
args[0] | Required. The first parameter after the violet push command. Specify the file path of the package to be uploaded. For multiple packages, place them in the same directory and specify the directory path - the tool will automatically upload all packages in the directory. |
--platform-address | Required. The access address of the platform. |
--platform-username | Required. Username of a local user with the Platform Administrator role . |
--platform-password | Required. Password for the username. |
--skip-push | Optional. Add this parameter when you only need to create upload-related resources without pushing images. |
--force | Optional. Add this parameter to forcibly overwrite and update related resources when images in the package already exist on the platform. |
--debug | Optional. Add this parameter when you need to print debug log information. |
Tip: The upload process does not support specifying a template repository. By default, packages will be uploaded to
public-charts
.