How to configure /app/Assets in Kubernetes


For the /data/db (mongodb), the k8s configuration is made up of a StatefulSet, volumeMounts and volumeClaimTemplates for the persistent storage.

How do you setup /app/Assets for the squidex Deployment manifest?

(I am referring to these lines in docker-compose-production.yml btw:

- /etc/squidex/assets:/app/Assets

Can I simply do the following?

- mountPath: “/app/Assets”
name: name-of-the-same-persistent-volume-used-by-mongo


Do you use GCloud or Azure? I would just put the files to their storage services. Because afaik it is not possible to mount a single volume to multiple servers.

There is already a GridFS PR which could be completed: