The user was not able to add pipelines to their custom resource upon using the run.sh file.
What caused this issue was that the script was not counting the # of pipelines that currently exist in the kabanero.yaml file.
This pull request resolves that issue by first counting the # of pipelines that exist in the stack key, and incrementing by 1 to add the new pipeline at the bottom.
The user was not able to add pipelines to their custom resource upon using the
run.sh
file. What caused this issue was that the script was not counting the # of pipelines that currently exist in thekabanero.yaml
file.This pull request resolves that issue by first counting the # of pipelines that exist in the stack key, and incrementing by 1 to add the new pipeline at the bottom.
Given the default kabanero pipelines i.e
where the user wants to add a new pipeline
The pull request now gives the following results in