You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
152: Add posibility to use an existing persistence claim r=alallema a=nlamirault
# Pull Request
## Related issue
Fixes#82
## What does this PR do?
- ...
## 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: Nicolas Lamirault <nicolas.lamirault@gmail.com>
Co-authored-by: Amélie <alallema@users.noreply.github.com>
Copy file name to clipboardexpand all lines: charts/meilisearch/templates/statefulset.yaml
+1-1
Original file line number
Diff line number
Diff line change
@@ -29,7 +29,7 @@ spec:
29
29
{{- if .Values.persistence.enabled }}
30
30
- name: {{ .Values.persistence.volume.name }}
31
31
persistentVolumeClaim:
32
-
claimName: {{ include "meilisearch.fullname" . }}
32
+
claimName: {{ if .Values.persistence.existingClaim }}{{ .Values.persistence.existingClaim }}{{- else }}{{ include "meilisearch.fullname" . }}{{- end }}
0 commit comments