Deleting applications and components

You can delete a component or application if you are a user with the workspace admin role.

If you delete a component permanently, you delete all resources from the quay organization, user interface (UI), and upstream repositories. This includes all images that have been previously built by Konflux that haven’t been copied into a different location, Tekton pipeline definitions, and other resources managed in those repositories. The deletion process submits a pull request (PR) to remove these pipeline definitions and associated resources.
If you delete a component then any previous snapshots referencing this component will become invalid since the image reference will no longer be valid.
If you delete an application permanently, you delete all the components within that application and all resources linked to these components.

Deleting an application in the web UI

Prerequisites
  • You have successfully signed into Konflux.

  • You have the workspace admin role.

Procedures
  1. In the UI, select My applications.

  2. Next to your applications, click More More and then select Delete.

  3. In Enter application name to delete, enter the relevant application name and then select Delete.

    You can also delete an application by selecting Actions > Delete Application.

Deleting an application using CLI

Prerequisites
Procedures
  • To delete an application, run the following command:

    kubectl delete application/<the-application-name>

Additional resources