Commit f864775
Merge #261
261: feat: add digest support for image r=brunoocasali a=R0BB3RT
# Pull Request
## Related issue
Fixes #260
## What does this PR do?
- Adds support for specifying a container image by digest in the Meilisearch Helm chart.
- This makes it possible to deploy Meilisearch in Kubernetes clusters that enforce immutable image references (e.g., via Sigstore Policy Controller).
- The change is backward-compatible: existing repository:tag configurations continue to work without modification.
## Basic example
```
image:
repository: getmeili/meilisearch
digest: "sha256:19b825993dbe80c61eec65de7e7096cd545a09a744d8d00f3dd117185ebb36f9"
tag: "" # leave empty when using digest
```
Renders as:
`image: getmeili/meilisearch@sha256:19b825993dbe80c61eec65de7e7096cd545a09a744d8d00f3dd117185ebb36f9`
If digest is not defined, the chart continues to render:
`image: getmeili/meilisearch:latest`
(or whatever tag is provided).
## 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?
Co-authored-by: R0BB3RT <[email protected]>
Co-authored-by: Bruno Casali <[email protected]>
Co-authored-by: brunoocasali <[email protected]>File tree
4 files changed
+4
-3
lines changed- charts/meilisearch
- templates
- manifests
4 files changed
+4
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
| 71 | + | |
71 | 72 | | |
72 | 73 | | |
73 | 74 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
| 60 | + | |
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
78 | | - | |
| 78 | + | |
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
| |||
0 commit comments