diff options
author | Mandeep Khinda <mandeep.khinda@amdocs.com> | 2018-03-26 23:30:25 +0000 |
---|---|---|
committer | Mandeep Khinda <mandeep.khinda@amdocs.com> | 2018-03-27 00:41:51 +0000 |
commit | 67edf6d5de8e931c2a9d113178cdb5a9b03516c2 (patch) | |
tree | ba92aedf794b9536c558571ed0e0cd3716edbe3c /kubernetes/readiness/docker/init/Dockerfile | |
parent | e4b9a6f9bea3b04f86ca86b004db1e32a0df5dc2 (diff) |
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 <mandeep.khinda@amdocs.com>
Signed-off-by: Areli Fuss <af732p@intl.att.com>
Diffstat (limited to 'kubernetes/readiness/docker/init/Dockerfile')
-rw-r--r-- | kubernetes/readiness/docker/init/Dockerfile | 4 |
1 files changed, 4 insertions, 0 deletions
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 |