feat(mattermost): enable plugin uploads and add persistent storage for plugins

This commit is contained in:
fchinembiri 2026-05-29 00:54:38 +02:00
parent f52067105c
commit e5f2308f65
1 changed files with 21 additions and 0 deletions

View File

@ -23,6 +23,18 @@ spec:
targetPort: 8065 targetPort: 8065
type: ClusterIP type: ClusterIP
--- ---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: mattermost-plugins-pvc
namespace: nextgen
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 1Gi
---
apiVersion: networking.k8s.io/v1 apiVersion: networking.k8s.io/v1
kind: Ingress kind: Ingress
metadata: metadata:
@ -95,5 +107,14 @@ spec:
value: "false" value: "false"
- name: MM_SERVICESETTINGS_SITEURL - name: MM_SERVICESETTINGS_SITEURL
value: "https://chat.techarvest.co.zw" value: "https://chat.techarvest.co.zw"
- name: MM_PLUGINSETTINGS_ENABLEUPLOADS
value: "true"
ports: ports:
- containerPort: 8065 - containerPort: 8065
volumeMounts:
- name: mattermost-plugins
mountPath: /mattermost/plugins
volumes:
- name: mattermost-plugins
persistentVolumeClaim:
claimName: mattermost-plugins-pvc