Skip to content

Commit

Permalink
feat(mediawiki): add config for CirrusSearch id prefixing (#140)
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewKostka authored Mar 20, 2024
1 parent a907666 commit f8be7db
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/mediawiki/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v1
appVersion: "1.37"
description: A Helm wbstack flavoured MediaWiki
name: mediawiki
version: 0.11.1
version: 0.11.2
home: https://github.com/wbstack
maintainers:
- name: WBstack
Expand Down
4 changes: 4 additions & 0 deletions charts/mediawiki/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,10 @@ Common deployment environment variables
- name: MW_WRITE_ONLY_ELASTICSEARCH_ES6
value: {{ .Values.mw.writeOnlyElasticsearch.es6 | quote }}
{{- end }}
{{- if .Values.mw.cirrussearch.prefixIds }}
- name: MW_CIRRUSSEARCH_PREFIX_IDS
value: "yes"
{{- end }}
- name: MW_MAILGUN_DISABLED
{{- if .Values.mw.mailgun.enabled }}
value: "no"
Expand Down
2 changes: 2 additions & 0 deletions charts/mediawiki/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ mw:
host: someOtherElasticsearchServer
port: 9200
es6: true
cirrussearch:
prefixIds: false
mail:
domain: somedomain.name
mailgun:
Expand Down

0 comments on commit f8be7db

Please sign in to comment.