Skip to content

Commit

Permalink
Merge pull request #19 from xpadev-net/feat/bleve
Browse files Browse the repository at this point in the history
bleve searchを有効化
  • Loading branch information
kyasbal authored Feb 5, 2024
2 parents cd8b2fc + 0aeb7e8 commit 5d4157c
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 4 deletions.
5 changes: 5 additions & 0 deletions kubernetes/mattermost/mattermost.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,14 @@ spec:
volumeMounts:
- name: config
mountPath: /mattermost/config/
- name: bleve-cache
mountPath: /mattermost/bleve/
volumes:
- name: config
emptyDir: {}
- name: secret
secret:
secretName: secret-configs
- name: bleve-cache
persistentVolumeClaim:
claimName: mattermost-bleve-pvc
11 changes: 11 additions & 0 deletions kubernetes/mattermost/pvc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: mattermost-bleve-pvc
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 2Gi
storageClassName: standard-rwo
8 changes: 4 additions & 4 deletions secrets/mattermost.json
Original file line number Diff line number Diff line change
Expand Up @@ -484,10 +484,10 @@
"Trace": ""
},
"BleveSettings": {
"IndexDir": "",
"EnableIndexing": false,
"EnableSearching": false,
"EnableAutocomplete": false,
"IndexDir": "/mattermost/bleve/",
"EnableIndexing": true,
"EnableSearching": true,
"EnableAutocomplete": true,
"BulkIndexingTimeWindowSeconds": 3600
},
"DataRetentionSettings": {
Expand Down

0 comments on commit 5d4157c

Please sign in to comment.