Add Kubernetes Launch Helper Script

When a pod or job is selected as the launch type, this script will be
sourced by the build-setup.sh script to launch the build container with
kubectl using yaml files this script creates. It will assume it is being
sourced and will be using some of the variables established in the
build-setup.sh script to build and push the job, and to generate the
YAML file Kubernetes needs to launch the container. A few more variables
are specific to this script. They are all related to Kubernetes. The
multiple PVC's that will be mounted, the image repository, namespace to
launch into, the image pull secret if the repo needs authentication, and
a timeout that determines how long we wait for the container to start
running before assuming failure.

Change-Id: Icba8ca7b0fa49fe2cb3b5622e4a6b7981049fb98
Signed-off-by: Alanny Lopez <alanny.lopez@ibm.com>
1 file changed