Editing applications

    • You have the appropriate roles and permissions in a project to create and modify applications in OKD.

    • You have .

    You can use the Topology view in the Developer perspective to edit the source code of your application.

    Procedure

    • In the Topology view, click the Edit Source code icon, displayed at the bottom-right of the deployed application, to access your source code and modify it.

      If the Eclipse Che Operator is installed in your cluster, a Che workspace () is created and you are directed to the workspace to edit your source code. If it is not installed, you will be directed to the Git repository (odc git repository) your source code is hosted in.

    You can use the Topology view in the Developer perspective to edit the configuration of your application.

    Prerequisites

    Ensure that you have created an application using the From Git, Container Image, From Catalog, or From Dockerfile options in the Add workflow.

    Procedure

    1. Click Edit application-name to see the Add workflow you used to create the application. The form is pre-populated with the values you had added while creating the application.

    2. Edit the necessary values for the application.

    3. Click Save to restart the build and deploy a new image.

      Figure 2. Edit and redeploy application