Mount path /tmp as emptyDir volume #3150
Labels
area/charts
good first issue
Good issue for a new contributor to handle
help-wanted
Community help on this would be appreciated
kind/enhancement
priority/normal
Checklist
kargo version
, if applicable.Proposed Feature
The path
/tmp
is used in the promotion step git clone to save the cloned git repository. Currently, this path is part of the container's root filesystem. I'm proposing to mount an ephemeral emptyDir volume to this path.Motivation
We are about to roll out Kargo to our production stage. One of the compliance requirements is to enable the
securityContext
readOnlyRootFilesystem
. This protects the root filesystem of the container from being changed during runtime and therefore increases security. When we enable this, the promotion step git clone fails with the following error:Suggested Implementation
I see two possible implementation options in the Kargo Helm Chart:
/tmp
to the container by default.The text was updated successfully, but these errors were encountered: