Data Passing

    Outputs consists of name and valueFrom. name declares the name of this output, which will be referenced by from in input.

    valueFrom can be written in the following ways:

    1. Use CUE expressions, eg. use + to combine value and string: valueFrom: output.metadata.name + "testString" or you can import built-in packages in CUE like:

    caution

    If you want to set the parameterKey with a invalid CUE variable name (eg: contains -, or starts with a number, etc.), you can refer to it with like:

    Suppose we already have a depends application in the cluster, and we want to read the workflow status of the depends Application in a new Application and send the status information to Slack.

    Apply the following YAML:

    When the application runs successfully, we can receive the workflow status information of the application in the Slack message notification.