Skip to content

Commit e0dfc23

Browse files
Merge #199
199: feat: reintroduce the possibility to specify a replicaCount in values.yaml r=alallema a=jlandic # Pull Request ## What does this PR do? - Re-enable the possibility to customize the `spec.replicas` value of the StatefulSet, a requirement we have for our internal High Availability tests. - Keep a default value of 1 replica to match the most common uses. ## PR checklist Please check if your PR fulfills the following requirements: - [x] Does this PR fix an existing issue, or have you listed the changes applied in the PR description (and why they are needed)? - [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: Jonathan Landicheff <jonathan@meilisearch.com>
2 parents ba343a6 + 1079fb3 commit e0dfc23

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

charts/meilisearch/Chart.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v1
22
appVersion: "v1.3.0"
33
description: A Helm chart for the Meilisearch search engine
44
name: meilisearch
5-
version: 0.2.5
5+
version: 0.2.6
66
icon: https://res.cloudinary.com/meilisearch/image/upload/v1597822872/Logo/logo_img.svg
77
home: https://github.com/meilisearch/meilisearch-kubernetes/tree/main/charts/meilisearch
88
maintainers:

charts/meilisearch/templates/statefulset.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ metadata:
55
labels:
66
{{- include "meilisearch.labels" . | nindent 4 }}
77
spec:
8-
replicas: 1
8+
replicas: {{ .Values.replicaCount | default 1 }}
99
serviceName: {{ template "meilisearch.fullname" . }}
1010
selector:
1111
matchLabels:

manifests/meilisearch.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ spec:
7575
app.kubernetes.io/component: search-engine
7676
app.kubernetes.io/part-of: meilisearch
7777
annotations:
78-
checksum/config: 73c3b4e0b1c0b03eddb60d433406ec9e300540938d9f5fdbb9177cbe39dc6bac
78+
checksum/config: 83205b90c0b551bef66ed63fe77a0350e8293bafa30c5eb3b562848e709e6f26
7979
spec:
8080
serviceAccountName: meilisearch
8181
securityContext:

0 commit comments

Comments
 (0)