Home / Platform management / Catalog / Application Listing / List the application to non-platform repository

List the application to non-platform repository

Using the violet tool, you can list three types of applications on the platform: operators, charts, and cluster plugins. By default, the artifacts (images, charts, etc.) included in the applications will be pushed to the image repository used by the deployment platform for management. However, if you do not wish to push these artifacts to the image repository used by the deployment platform, you will need to follow special configurations based on the following scenarios to complete the listing of your applications.

Scenario 1

Scenario Description

The image repository used by the deployment platform (Global cluster) differs from the one utilized by the business applications. The artifacts (images, charts, etc.) for the applications to be deployed have already been pushed to the image repository used by the business applications, and the user desires to manage these artifacts within the same image repository used by the business applications.

Operations

Since all application artifacts (images, charts, etc.) are already stored in this image repository, there’s no need for additional image export or import processes.

  1. Following the usage guidelines of the violet tool, specify the --skip-package-images parameter during packaging initialization. This ensures that violet does not export images when executing the package operation, producing an application package without images.

  2. Subsequently, use the violet push command with the --skip-push parameter to upload the application package without images to the container platform.

Notes

Scenario 2

Scenario Description

The image repository used by the deployment platform (Global cluster) differs from the one utilized by the business applications. The artifacts (images, charts, etc.) for the applications to be deployed have not been pushed to the image repository used by the business applications and are instead stored in another image repository. The user desires to manage these application artifacts within the image repository used by the business applications.

Operations

  1. Use the violet push command with the --dest-repo parameter to import the images from the application package, including container images and OCI artifacts, into the connected external image repository.

Notes

  1. Adding Image Replacement Whitelist

After an application is onboarded, when deploying the corresponding operator, the pod needs to pull images from the connected external image repository address. Therefore, it is necessary to configure an additional image replacement whitelist. The image replacement whitelist feature ensures that when an application is deployed and started, the pod uses the correct image repository address to ensure that the container can pull the image.

For instance, when developing an operator, chart, or cluster plugin, a fixed image address may be used in the deployment source code. However, when this application package is onboarded to a private container platform and container images need to be pulled from a different image repository, the image replacement whitelist feature is required.

By creating an Imagewhitelist resource, you can add one or more entries to the image replacement whitelist. Each Imagewhitelist custom resource (CR) can contain one or more images to be replaced.

Parameter Explanation:

Notes

Scenario 3

Scenario Description

The image repository used by the deployment platform (Global cluster) is the same as the one used by the business applications.

Operations

All application artifacts (images, charts, etc.) are already stored in this image repository, so there is no need for additional export or import of artifacts.

  1. Follow the violet tool usage guidelines and specify the --skip-package-images parameter during packaging initialization. This will prevent violet from exporting images during the packaging process, resulting in an application package without images.

  2. Then, use the violet push command with the --skip-push parameter to upload the application package without images to the container platform.

Notes