Comments (8)
@Szymongib / @gabrieljackson If you want to assign me to this, I've got a PR that hopefully resolves - #305 - happy to make any modifications needed to get it ready.
from mattermost-operator.
In theory, it would be possible to configure local file store with environment variables. This is not possible with CRD tho, as containers file system is transient therefore unless you mount a persistent volume you would lose all your data whenever containers restart.
from mattermost-operator.
Yes, I will mount a persistent volume, so, please, where in the docs talk about local file store with env variable?
from mattermost-operator.
There are no docs for that as we do not officially support it. I would advise against it in any production scenario as this is not really tested and it is more of a hack, but you could achieve it by setting the following environment variables:
mattermostEnv:
- name: MM_FILESETTINGS_DRIVERNAME
value: local
- name: MM_FILESETTINGS_DIRECTORY
value: /mattermost/data # Or whatever is path of your volume mount
...
You would still need to specify the filestore
section tho, so probably configuring some not existent bucket or something.
Could you share what is your use case for using local filestore? Maybe there is some other solution for it? 🤔
from mattermost-operator.
Thanks. The use case is that Im on baremetal, and even if I deploy minio I will end with an NFS filesystem. I will try the env "hack".
But why the operator was not designed to support local file store?
from mattermost-operator.
We only recently added support for volumes and using external file store is more aligned with cloud application. Also as you mentioned there is always option for deploying Minio so I suppose there was never real need for it.
from mattermost-operator.
We will be most likely moving out from support for Minio and MySQl Operators tho, so maybe it is something we can revisit.
from mattermost-operator.
Due to a few recent requests for this functionality in other communication channels we are opening this up as a help wanted request.
The task would be to provide a clean configuration option for a local filestore type which would be clearly marked as not supported for production environments.
from mattermost-operator.
Related Issues (20)
- Resource Patch e2e test HOT 2
- CVEs mitigation
- Mattermost Operator Does Not Support AWS IAM Profile for S3 Bucket Auth
- Inconsistent server behavior with several replicas (k8s) HOT 5
- Gossip traffic service / Istio injection HOT 3
- Operator does not configure port 8443 for calls
- Mattermost on Kubernetes with external MySQL database
- Postgres connection string invalid control character in URL for secret data in base64 HOT 1
- operatorhub.io still has v0.5.0 with max k8s version 1.21 as latest HOT 4
- Cannot set initial admin user with Postgres backend HOT 1
- Docs link to broken mysql-operator in k1.27.3 HOT 2
- ARM64 image is not working HOT 1
- Mattermost operator and cluster role scopes
- Mattermost is working but the cluster is reconciling
- [FEATURE]: Add support for COSI
- Service annotation 'tolerate-unready-endpoints' is deprecated HOT 1
- Postgres password rotated, can no longer connect
- Operator managed installation of mattermost with mysql and minio
- Document deployment with Gitlab
- Allow customizing ingress type and pathType directly in the mattermost spec HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mattermost-operator.