Update Variable Naming Convention
Variables in qemu-build.sh, build-jenkins.sh, build-setup.sh,
and kubernetes-launch.sh updated to use the same convention across
different scripts.
Change-Id: Ice9ef2f47b0fbf125eadd235f63b79abafdc2dd7
Signed-off-by: Alanny Lopez <alannyglopez@gmail.com>
diff --git a/kubernetes/Templates/OpenBMC-build-pod.yaml b/kubernetes/Templates/OpenBMC-build-pod.yaml
index 4eb76da..a383367 100644
--- a/kubernetes/Templates/OpenBMC-build-pod.yaml
+++ b/kubernetes/Templates/OpenBMC-build-pod.yaml
@@ -1,7 +1,7 @@
apiVersion: v1
kind: Pod
metadata:
- name: ${podname}
+ name: ${pod_name}
namespace: ${namespace}
spec:
nodeSelector:
@@ -9,21 +9,21 @@
volumes:
- name: workspace
persistentVolumeClaim:
- claimName: ${wclaim}
- - name: sscdir
+ claimName: ${w_claim}
+ - name: ssc-dir
persistentVolumeClaim:
- claimName: ${sclaim}
+ claimName: ${s_claim}
hostNetwork: True
containers:
- - image: ${imgname}
+ - image: ${img_name}
name: builder
command: [\"${WORKSPACE}/build.sh\"]
workingDir: ${HOME}
env:
- name: WORKSPACE
value: ${WORKSPACE}
- - name: builddir
- value: ${builddir}
+ - name: build-dir
+ value: ${build_dir}
securityContext:
capabilities:
add:
@@ -31,8 +31,8 @@
volumeMounts:
- name: workspace
mountPath: ${HOME}/workspace
- - name: sscdir
- mountPath: ${sscdir}
+ - name: ssc-dir
+ mountPath: ${ssc_dir}
restartPolicy: Never
imagePullSecrets:
- - name: ${imgplsec}
+ - name: ${img_pl_sec}