Add capability for dependencies to be installed in pipeline
Adds the ability to pass in two additional variables to install a dependency (i.e. operator dependency) prior to the app install in the pipeline. Also added in kubectl wait
commands for CRDs. In testing sometimes CRDs do not create a deployment fast enough for the other wait commands to properly wait for it. Waiting for the CRDs solves this problem. The helm --wait
addition also provides a better guarantee everything will be properly running before testing.
This has not been tested end-to-end yet due to issues with elastic, but the added conditionals do properly install the dependencies.