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/QEMU-launch-deployment.yaml b/kubernetes/Templates/QEMU-launch-deployment.yaml
index c17df73..c8bdc9f 100644
--- a/kubernetes/Templates/QEMU-launch-deployment.yaml
+++ b/kubernetes/Templates/QEMU-launch-deployment.yaml
@@ -1,29 +1,29 @@
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
- name: ${deployname}
+ name: ${deploy_name}
namespace: ${namespace}
spec:
replicas: ${replicas}
selector:
matchLabels:
- app: ${deployname}
+ app: ${deploy_name}
template:
metadata:
labels:
- app: ${deployname}
+ app: ${deploy_name}
spec:
volumes:
- name: workspace
persistentVolumeClaim:
- claimName: ${wclaim}
+ claimName: ${w_claim}
nodeSelector:
beta.kubernetes.io/arch: ${ARCH}
securityContext:
runAsUser: 0
containers:
- - image: ${imgname}
- name: ${podname}
+ - image: ${img_name}
+ name: ${pod_name}
command: [\"${OBMC_BUILD_DIR}/boot-qemu.sh\"]
tty: true
workingDir: ${OBMC_BUILD_DIR}
@@ -59,4 +59,4 @@
subPath: ${jenkins_subpath}
mountPath: ${OBMC_BUILD_DIR}
imagePullSecrets:
- - name: ${imgplsec}
+ - name: ${img_pl_sec}