Deploying an App Build using Helm Charts

This topic describes how to deploy a Flogo application to a data plane using the Helm Charts. Before you begin, ensure that you have created an app build. To learn how to create an app build, see Creating and Deploying a New App Build.

    Procedure
  1. In the Deploy App dialog, click Deploy app in the Managed By Helm Charts card.

    Tip: You can access the Deploy App dialog in two ways:
    1. If you have just created an app build, select Deploy App on the Finished tab.

    2. In the App Builds section, click the menu next to the app you want to deploy, and then select Deploy.

  2. On the App and Resource Configurations tab, specify the values for the following fields:

    Field Description
    Application Name

    Specify the name of your application.

    Default: The application name is automatically retrieved from the uploaded .flogo or .json file.

    Note: When naming your application, ensure that the name contains only lowercase letters (a-z), numeric characters (0-9), and hyphens (-). Hyphens must be placed in the middle of the name, not at the beginning or end. For example, abcdefg, 123458, abcd458, or 12-ab-4 are valid. Any other characters, such as uppercase letters, spaces, or special symbols, cause the deployment to fail.
    NameSpace

    Before specifying a namespace in this field, ensure that you have created it. As you type, the field autosuggests a list of existing namespaces.

    Tip: If you type a non-existing namespace, it suggests the commands to create it in your data plane.
    Note: If namespace is not specified, the default namespace of the data plane is used.

    A data plane can have multiple namespaces, which are linked to a service account of the respective data plane. To create a namespace other than the default data plane namespace, see Deploying App Outside Data Plane Namespace.

    Chart Name

    Specify the chart name of the app managed by Helm Chart.

    Note: If chart name is not specified, the default chart name of the data plane is used.
    Chart Version

    Specify the chart version of the app managed by Helm Chart.

    Note: If chart version is not specified, the default chart version of the data plane is used.
    Application Tags

    Click the icon to add tags for your application to enhance searchability and categorization.
  3. Click Next.

  4. On the YAML Editor tab, add or edit app configuration details.

    Note: To attach a volume to an app container, add volumeMounts in the 'flogoapp' section and volumes at the parent level in the YAML file.
    Here is a sample for adding volumeMount in the 'flogoapp' section:
    Copy
    flogoapp:
      volumeMounts:
        - name: app-volume
          mountPath: "<Path to mount the volume. Example: "/flogo-files">

    To use this volume for a connector, add the mountPath to the file. For example: /flogo-files/<file name>.

    Here is a sample for adding volumes at parent level in the YAML file:
    Copy
    volumes:
      - name: app-volume
        persistentVolumeClaim:
          claimName: "<Name of the PVC you created earlier>"
  5. Select the I have read and accepted the TIBCO End User Agreement (EUA) checkbox to accept the End-User Agreement.

  6. Click Deploy App.

ResultThe Flogo application is deployed on your data plane. On the Finished tab, you can click the respective buttons to view app builds, view deployed apps, or view app details.
Note:
  • Apps deployed using a Helm chart are identified with the " Managed" label in the App Details page. This label indicates that the app deployment is managed through Helm, providing clear identification of Helm-managed applications.

  • Apps deployed using the Helm chart APIs cannot be managed using the Flogo provisioner APIs. You can manage these apps using the Helm Chart APIs for Application Management and Application and Build Management APIs.