We have a situation where we have credentials files in a kubernetes secret, and when our container starts up, we need to run a command to copy them to a different spot in the container for use because they cannot be symlinks.
We want to incorporate this into the entrypoint via a container_image step or something, but since we're using java_image, the current entrypoint is gigantic and not something we can script in (to my knowledge). We want our new entrypoint to be something like:
entrypoint = [
"run-command.sh && old_entrypoint",
]
Is there any way to do this?
We have a situation where we have credentials files in a kubernetes secret, and when our container starts up, we need to run a command to copy them to a different spot in the container for use because they cannot be symlinks.
We want to incorporate this into the entrypoint via a
container_imagestep or something, but since we're usingjava_image, the current entrypoint is gigantic and not something we can script in (to my knowledge). We want our new entrypoint to be something like:entrypoint = [
"run-command.sh && old_entrypoint",
]
Is there any way to do this?