Skip to content

Commit 8eae38a

Browse files
authored
Merge branch 'main' into bump-meilisearch-v0.23.0
2 parents 198a0c4 + 9cb92d6 commit 8eae38a

File tree

9 files changed

+39
-2
lines changed

9 files changed

+39
-2
lines changed

CONTRIBUTING.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,23 @@
22

33
First of all, thank you for contributing to MeiliSearch! The goal of this document is to provide everything you need to know in order to contribute to MeiliSearch and its different integrations.
44

5+
- [Hacktoberfest](#hacktoberfest)
56
- [Assumptions](#assumptions)
67
- [How to Contribute](#how-to-contribute)
78
- [Development Workflow](#development-workflow)
89
- [Git Guidelines](#git-guidelines)
910
- [Release Process (for internal team only)](#release-process-for-internal-team-only)
1011

12+
## Hacktoberfest
13+
14+
It's [Hacktoberfest month](https://blog.meilisearch.com/contribute-hacktoberfest-2021/)! 🥳
15+
16+
🚀 If your PR gets accepted it will count into your participation to Hacktoberfest!
17+
18+
✅ To be accepted it has either to have been merged, approved or tagged with the `hacktoberfest-accepted` label.
19+
20+
🧐 Don't forget to check the [quality standards](https://hacktoberfest.digitalocean.com/resources/qualitystandards)! Low-quality PRs might get marked as `spam` or `invalid`, and will not count toward your participation in Hacktoberfest.
21+
1122
## Assumptions
1223

1324
1. **You're familiar with [GitHub](https://github.com) and the [Pull Request](https://help.github.com/en/github/collaborating-with-issues-and-pull-requests/about-pull-requests)(PR) workflow.**
@@ -19,7 +30,7 @@ First of all, thank you for contributing to MeiliSearch! The goal of this docume
1930
1. Make sure that the contribution you want to make is explained or detailed in a GitHub issue! Find an [existing issue](https://github.com/meilisearch/meilisearch-kubernetes/issues/) or [open a new one](https://github.com/meilisearch/meilisearch-kubernetes/issues/new).
2031
2. Once done, [fork the meilisearch-kubernetes repository](https://help.github.com/en/github/getting-started-with-github/fork-a-repo) in your own GitHub account. Ask a maintainer if you want your issue to be checked before making a PR.
2132
3. [Create a new Git branch](https://help.github.com/en/github/collaborating-with-issues-and-pull-requests/creating-and-deleting-branches-within-your-repository).
22-
4. Review the [Development Workflow](#workflow) section that describes the steps to maintain the repository.
33+
4. Review the [Development Workflow](#development-workflow) section that describes the steps to maintain the repository.
2334
5. Make the changes on your branch.
2435
6. [Submit the branch as a PR](https://help.github.com/en/github/collaborating-with-issues-and-pull-requests/creating-a-pull-request-from-a-fork) pointing to the `main` branch of the main meilisearch-kubernetes repository. A maintainer should comment and/or review your Pull Request within a few days. Although depending on the circumstances, it may take longer.<br>
2536
We do not enforce a naming convention for the PRs, but **please use something descriptive of your changes**, having in mind that the title of your PR will be automatically added to the next [release changelog](https://github.com/meilisearch/meilisearch-kubernetes/releases/).

charts/meilisearch/templates/configmap.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ metadata:
77
helm.sh/chart: {{ include "meilisearch.chart" . }}
88
app.kubernetes.io/instance: {{ .Release.Name }}
99
app.kubernetes.io/managed-by: {{ .Release.Service }}
10+
{{- with .Values.customLabels }}
11+
{{- toYaml . | nindent 4 }}
12+
{{- end }}
1013
data:
1114
{{- range $key, $value := .Values.environment }}
1215
{{ $key }}: {{ $value | quote}}

charts/meilisearch/templates/ingress.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ metadata:
1010
helm.sh/chart: {{ include "meilisearch.chart" . }}
1111
app.kubernetes.io/instance: {{ .Release.Name }}
1212
app.kubernetes.io/managed-by: {{ .Release.Service }}
13+
{{- with .Values.customLabels }}
14+
{{- toYaml . | nindent 4 }}
15+
{{- end }}
1316
{{- with .Values.ingress.annotations }}
1417
annotations:
1518
{{ toYaml . | indent 4 }}

charts/meilisearch/templates/master-key-secret.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,13 @@ metadata:
1010
helm.sh/chart: {{ include "meilisearch.chart" . }}
1111
app.kubernetes.io/instance: {{ .Release.Name }}
1212
app.kubernetes.io/managed-by: {{ .Release.Service }}
13+
{{- with .Values.customLabels }}
14+
{{- toYaml . | nindent 4 }}
15+
{{- end }}
1316
data:
1417
{{- if $secret }}
1518
MEILI_MASTER_KEY: {{ $secret.data.MEILI_MASTER_KEY }}
1619
{{ else }}
1720
MEILI_MASTER_KEY: {{ randAlphaNum 20 | b64enc }}
1821
{{- end }}
19-
{{ end }}
22+
{{ end }}

charts/meilisearch/templates/pvc.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ metadata:
88
helm.sh/chart: {{ include "meilisearch.chart" . }}
99
app.kubernetes.io/instance: {{ .Release.Name }}
1010
app.kubernetes.io/managed-by: {{ .Release.Service }}
11+
{{- with .Values.customLabels }}
12+
{{- toYaml . | nindent 4 }}
13+
{{- end }}
1114
spec:
1215
accessModes:
1316
- {{ .Values.persistence.accessMode | quote }}

charts/meilisearch/templates/service.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ metadata:
77
helm.sh/chart: {{ include "meilisearch.chart" . }}
88
app.kubernetes.io/instance: {{ .Release.Name }}
99
app.kubernetes.io/managed-by: {{ .Release.Service }}
10+
{{- with .Values.customLabels }}
11+
{{- toYaml . | nindent 4 }}
12+
{{- end }}
1013
spec:
1114
type: {{ .Values.service.type }}
1215
ports:

charts/meilisearch/templates/serviceaccount.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,6 @@ metadata:
77
helm.sh/chart: {{ include "meilisearch.chart" . }}
88
app.kubernetes.io/instance: {{ .Release.Name }}
99
app.kubernetes.io/managed-by: {{ .Release.Service }}
10+
{{- with .Values.customLabels }}
11+
{{- toYaml . | nindent 4 }}
12+
{{- end }}

charts/meilisearch/templates/statefulset.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ metadata:
77
helm.sh/chart: {{ include "meilisearch.chart" . }}
88
app.kubernetes.io/instance: {{ .Release.Name }}
99
app.kubernetes.io/managed-by: {{ .Release.Service }}
10+
{{- with .Values.customLabels }}
11+
{{- toYaml . | nindent 4 }}
12+
{{- end }}
1013
spec:
1114
replicas: {{ .Values.replicaCount }}
1215
serviceName: {{ template "meilisearch.fullname" . }}
@@ -19,6 +22,9 @@ spec:
1922
labels:
2023
app.kubernetes.io/name: {{ include "meilisearch.name" . }}
2124
app.kubernetes.io/instance: {{ .Release.Name }}
25+
{{- with .Values.customLabels }}
26+
{{- toYaml . | nindent 8 }}
27+
{{- end }}
2228
{{- with .Values.podAnnotations }}
2329
annotations:
2430
{{- toYaml . | nindent 8 }}

charts/meilisearch/values.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ environment:
3232

3333
podAnnotations: {}
3434

35+
customLabels: {}
36+
3537
service:
3638
type: ClusterIP
3739
port: 7700

0 commit comments

Comments
 (0)