Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: expose plugin upload setting #12

Merged
merged 1 commit into from
Feb 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions chart/templates/mattermost-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
apiVersion: v1
kind: Secret
metadata:
name: mattermost-config
namespace: {{ .Release.Namespace }}
type: Opaque
stringData:
MM_PLUGINSETTINGS_ENABLEUPLOADS: "{{ .Values.config.enablePluginUploads | toString }}"
4 changes: 4 additions & 0 deletions chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,7 @@ sso:

# The subdomain for the mattermost server, will be prefixed to your domain (ex: mattermost.example.com)
subdomain: "chat"

# Additional configuration for Mattermost
config:
enablePluginUploads: false
6 changes: 6 additions & 0 deletions values/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,12 @@ mattermostApp:
secretKeyRef:
key: MM_FILESETTINGS_AMAZONS3REGION
name: "mattermost-object-store"
# Additional Mattermost Config
- name: MM_PLUGINSETTINGS_ENABLEUPLOADS
valueFrom:
secretKeyRef:
key: MM_PLUGINSETTINGS_ENABLEUPLOADS
name: "mattermost-config"
securityContext:
runAsUser: 2000
runAsGroup: 2000
Expand Down
Loading