From 67edf6d5de8e931c2a9d113178cdb5a9b03516c2 Mon Sep 17 00:00:00 2001 From: Mandeep Khinda Date: Mon, 26 Mar 2018 23:30:25 +0000 Subject: adding K8s job completion utility Integrating the Work that was originally done by SDC team: https://gerrit.onap.org/r/gitweb?p=sdc.git;a=tree;\ f=sdc-os-chef/kubernetes/sdc/templates/configmaps;hb=HEAD into the readiness image Issue-ID: OOM-832 Change-Id: Icb22a8d0a67495860008dc6d6960e043d982c668 Signed-off-by: Mandeep Khinda Signed-off-by: Areli Fuss --- kubernetes/readiness/docker/init/Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'kubernetes/readiness/docker/init/Dockerfile') diff --git a/kubernetes/readiness/docker/init/Dockerfile b/kubernetes/readiness/docker/init/Dockerfile index 20f2268975..7214e04174 100644 --- a/kubernetes/readiness/docker/init/Dockerfile +++ b/kubernetes/readiness/docker/init/Dockerfile @@ -17,4 +17,8 @@ ENV TOKEN="/var/run/secrets/kubernetes.io/serviceaccount/token" COPY ready.py /root/ready.py RUN chmod a+x /root/ready.py + +COPY job_complete.py /root/job_complete.py +RUN chmod a+x /root/job_complete.py + ENTRYPOINT /root/ready.py -- cgit 1.2.3-korg