Skip to content

Commit

Permalink
Merge branch 'main' into patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
brunoocasali authored Nov 1, 2023
2 parents 55aab2a + ad52661 commit 5d7bfa5
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
python-version: 3.7

- name: Set up chart-testing
uses: helm/chart-testing-action@v2.4.0
uses: helm/chart-testing-action@v2.6.0

- name: Run chart-testing (lint)
run: ct lint --config ct.yaml
Expand All @@ -50,7 +50,7 @@ jobs:
python-version: 3.7

- name: Set up chart-testing
uses: helm/chart-testing-action@v2.4.0
uses: helm/chart-testing-action@v2.6.0

- name: Run chart-testing (list-changed)
id: list-changed
Expand Down
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@

**Meilisearch** is an open-source search engine. [Discover what Meilisearch is!](https://github.com/meilisearch/meilisearch)

---

### 🔥 On November 2nd, we are hosting our first-ever live demo and product updates for [Meilisearch Cloud](https://www.meilisearch.com/cloud?utm_campaign=oss&utm_source=github&utm_medium=meilisearch). Make sure to [register here](https://us06web.zoom.us/meeting/register/tZMlc-mqrjIsH912-HTRe-AaT-pp41bDe81a#/registration) and bring your questions for live Q&A!

---

## Table of Contents <!-- omit in toc -->

- [📖 Documentation](#-documentation)
Expand Down
2 changes: 1 addition & 1 deletion charts/meilisearch/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v1
appVersion: "v1.4.0"
description: A Helm chart for the Meilisearch search engine
name: meilisearch
version: 0.2.7
version: 0.2.8
icon: https://res.cloudinary.com/meilisearch/image/upload/v1597822872/Logo/logo_img.svg
home: https://github.com/meilisearch/meilisearch-kubernetes/tree/main/charts/meilisearch
maintainers:
Expand Down
7 changes: 3 additions & 4 deletions charts/meilisearch/templates/master-key-secret.yaml
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
{{- if eq (include "isProductionWithoutMasterKey" .) "true" }}
{{- $secretName := printf "%s-%s" (include "meilisearch.fullname" . ) "master-key" }}
{{- $secret := (lookup "v1" "Secret" .Release.Namespace $secretName) -}}
{{- $secret := (lookup "v1" "Secret" .Release.Namespace (include "secretMasterKeyName" .)) -}}
apiVersion: v1
kind: Secret
metadata:
name: {{ $secretName }}
name: {{ template "secretMasterKeyName" . }}
labels:
{{- include "meilisearch.labels" . | nindent 4 }}
data:
{{- if $secret }}
MEILI_MASTER_KEY: {{ $secret.data.MEILI_MASTER_KEY }}
MEILI_MASTER_KEY: {{ $secret.data.MEILI_MASTER_KEY }}
{{ else }}
MEILI_MASTER_KEY: {{ randAlphaNum 20 | b64enc }}
{{- end }}
Expand Down
2 changes: 1 addition & 1 deletion charts/meilisearch/templates/serviceMonitor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ spec:
{{- end }}
{{- if or (.Values.environment.MEILI_MASTER_KEY) (.Values.auth.existingMasterKeySecret) (eq .Values.environment.MEILI_ENV "production") }}
bearerTokenSecret:
name: meilisearch-master-key
name: {{ template "secretMasterKeyName" . }}
key: MEILI_MASTER_KEY
{{- end }}
{{- if .Values.serviceMonitor.targetLabels }}
Expand Down
2 changes: 1 addition & 1 deletion ct.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
remote: origin
chart-dirs:
- charts
helm-extra-args: --timeout 600s
# helm-extra-args: --timeout 600s
target-branch: main
2 changes: 1 addition & 1 deletion manifests/meilisearch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ spec:
app.kubernetes.io/component: search-engine
app.kubernetes.io/part-of: meilisearch
annotations:
checksum/config: fe89006beb14ca937e98a51d6dadf00eb3a1cc0263ad03d23a531be38b4eaf15
checksum/config: 136a06ce32226c3ca55823dbc13dcbcea97ee3b44a9a459a0ec866a641eb92c0
spec:
serviceAccountName: meilisearch
securityContext:
Expand Down

0 comments on commit 5d7bfa5

Please sign in to comment.