Closed ChunyiLyu closed 4 months ago
One possible enhancement we can add to this would be guarding people from adding multiple pipelines to promise delete and resource delete workflows. Kratix currently only supports multiple pipelines for the configure workflows. There is no check for this in the CLI and we are allowing people using the CLI to define invalid configurations.
Context
Implement a command that can add a container image to promise directory. The command should bootstrap the necessary files so the user can focus on writing their container logic.
Ensure that:
pipeline.sh
file can be used as an example and has comments explaining what it is doing. For example, it could read themetadata.name
andmetadata.namespace
and echoHello from ${name} ${namespace}
.promise.yaml
file is updated with the new workflow--split
, there's a newworkflow.yaml
in theworkflow-name
directory and that is used atpromise build
time to generate the correct promise.Design
Reference:
Outputs
Tasks