DEV Community

Anuja Piayadigama
Anuja Piayadigama

Posted on

How to share a file from initContainer to base container in Kubernetes

0

I have created a custom alpine image (alpine-audit) which includes a jar file in the /tmp directory. What I need is to use that alpine-audit image as the initContainers base image and copy that jar file that I've included, to a location where the Pod container can access.

My yaml…

Top comments (0)