Skip to content

Commit a1b6291

Browse files
bors[bot]yagince
andauthored
Merge #115
115: Enabled to override command r=alallema a=yagince # Pull Request ## What does this PR do? I would like to use the experimental feature of Meilisearch. https://github.com/meilisearch/meilisearch/discussions/2070 `--enable-auto-batching` cannot be enabled via environment variables, it must be set via CLI arguments. So I made it possible to override the pod command. ## PR checklist Please check if your PR fulfills the following requirements: - [x] Does this PR fix an existing issue? - [x] Have you read the contributing guidelines? - [x] Have you made sure that the title is accurate and descriptive of the changes? Thank you so much for contributing to Meilisearch! Co-authored-by: yagince <[email protected]>
2 parents 710a473 + c5b8e1c commit a1b6291

File tree

4 files changed

+9
-1
lines changed

4 files changed

+9
-1
lines changed

charts/meilisearch/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v1
22
appVersion: "v0.27.1"
33
description: A Helm chart for the Meilisearch search engine
44
name: meilisearch
5-
version: 0.1.32
5+
version: 0.1.33
66
icon: https://res.cloudinary.com/meilisearch/image/upload/v1597822872/Logo/logo_img.svg
77
home: https://github.com/meilisearch/meilisearch-kubernetes/charts
88
maintainers:

charts/meilisearch/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,8 @@ helm uninstall <your-service-name>
100100
| | |
101101
| `resources` | Resources allocation (Requests and Limits) | `{}`
102102
| | |
103+
| `command` | Pod command | `[]`
104+
| | |
103105
| `tolerations` | Tolerations for pod assignment | `[]`
104106
| | |
105107
| `nodeSelector` | Node labels for pod assignment | `{}`

charts/meilisearch/templates/statefulset.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,10 @@ spec:
5757
- secretRef:
5858
name: {{ template "secretMasterKeyName" . }}
5959
{{- end }}
60+
{{- if ne (len .Values.command) 0 }}
61+
command:
62+
{{ toYaml .Values.command | indent 12 }}
63+
{{- end }}
6064
ports:
6165
- name: http
6266
containerPort: {{ .Values.container.containerPort }}

charts/meilisearch/values.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,3 +100,5 @@ nodeSelector: {}
100100
tolerations: []
101101

102102
affinity: {}
103+
104+
command: []

0 commit comments

Comments
 (0)