akash-network / support

Akash Support and Issue Tracking
Apache License 2.0
5 stars 4 forks source link

service: allow mounting files #66

Open boz opened 3 years ago

boz commented 3 years ago

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.

hydrogen18 commented 3 years ago

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