Kubernetes Launch Script Functionality Improvement

Changed the way this script handles being called upon so that it can
support more than just the build-setup.sh. It will now call a
templated YAML file. This template will be filled out and launched via
kubectl. A case check will be used to set the default variables that are
needed by the specific invoker. To satisfy these changes updated the
build-setup.sh, added a templates folder, and added two templates for
the build-setup.sh script.

Change-Id: I9ef7426e638cae52677a8855a91e76c5e4788fb1
Signed-off-by: Alanny Lopez <alanny.lopez@ibm.com>
diff --git a/kubernetes/Templates/OpenBMC-build-pod.yaml b/kubernetes/Templates/OpenBMC-build-pod.yaml
new file mode 100644
index 0000000..7ecc03a
--- /dev/null
+++ b/kubernetes/Templates/OpenBMC-build-pod.yaml
@@ -0,0 +1,43 @@
+apiVersion: v1
+kind: Pod
+metadata:
+  name: ${podname}
+  namespace: ${namespace}
+spec:
+  nodeSelector:
+    worker: \"true\"
+    arch: ${ARCH}
+  volumes:
+  - name: home
+    persistentVolumeClaim:
+      claimName: ${hclaim}
+  - name: sscdir
+    persistentVolumeClaim:
+      claimName: ${sclaim}
+  - name: obmccache
+    persistentVolumeClaim:
+      claimName: ${oclaim}
+  hostNetwork: True
+  containers:
+  - image: ${imgname}
+    name: builder
+    command: [\"${WORKSPACE}/build.sh\"]
+    workingDir: ${HOME}
+    env:
+    - name: WORKSPACE
+      value: ${WORKSPACE}
+    - name: obmcdir
+      value: ${obmcdir}
+    securityContext:
+      capabilities:
+        add:
+        - SYS_ADMIN
+    volumeMounts:
+    - name: home
+      mountPath: ${HOME}
+    - name: sscdir
+      mountPath: ${sscdir}
+    - name: obmccache
+      mountPath: ${obmcext}
+  imagePullSecrets:
+  - name: ${imgplsec}