node icon indicating copy to clipboard operation
node copied to clipboard

service: allow mounting files

Open boz opened this issue 5 years ago • 1 comments

Allow mounting files into a container.

Add a new section to the service section in sdl:

mounts:
  - path: /config/app.toml
    contents: |-
      foo=bar
      baz=boo

In k8s, create a configmap with the given contents and mount it at the given path.

To start, these can be mounted read-only.

boz avatar Nov 29 '20 14:11 boz

We will need to add limits on the size of the file that can be uploaded / injected when implementing this.

hydrogen18 avatar Dec 01 '20 22:12 hydrogen18