|
1 | | -# Meilisearch |
| 1 | +# meilisearch |
| 2 | + |
| 3 | +A Helm chart for the Meilisearch search engine |
| 4 | + |
| 5 | +  |
2 | 6 |
|
3 | 7 | Helm works as a package manager to run pre-configured Kubernetes resources. |
4 | 8 |
|
@@ -38,92 +42,67 @@ To uninstall/delete the `Meilisearch` deployment: |
38 | 42 | helm uninstall <your-service-name> |
39 | 43 | ``` |
40 | 44 |
|
41 | | -## Parameters |
42 | | - |
43 | | -| Parameter | Description | Default | |
44 | | -|----------------------------------|----------------------------------------------------------------|-----------------------------------| |
45 | | -| `nameOverride` | String to partially override meilisearch.fullname | `nil` |
46 | | -| | | |
47 | | -| `fullnameOverride` | String to fully override meilisearch.fullname | `nil` |
48 | | -| | | |
49 | | -| `replicaCount` | Number of Meilisearch pods to run | `1` |
50 | | -| | | |
51 | | -| `environment.MEILI_ENV` | Sets the environment. Either **production** or **development** | `development` |
52 | | -| | | |
53 | | -| `environment.MEILI_NO_ANALYTICS` | Deactivates analytics | `true` |
54 | | -| | | |
55 | | -| `auth.existingMasterKeySecret` | Uses an existing secret that has the MEILI_MASTER_KEY set | `nil` |
56 | | -| | | |
57 | | -| `envFrom` | Additional environment variables from ConfigMap or secrets | `[]` |
58 | | -| | | |
59 | | -| `image.repository` | Meilisearch image name | `getmeili/meilisearch` |
60 | | -| | | |
61 | | -| `image.tag` | Meilisearch image tag | `{TAG_NAME}` |
62 | | -| | | |
63 | | -| `image.pullPolicy` | Meilisearch image pull policy | `IfNotPresent` |
64 | | -| | | |
65 | | -| `image.pullSecret` | Secret to authenticate against the docker registry | '' | |
66 | | -| | | |
67 | | -| `serviceAccount.create` | Should this chart create a service account | `true` |
68 | | -| | | |
69 | | -| `serviceAccount.annotations` | Additional annotations for created service account | `{}` |
70 | | -| | | |
71 | | -| `serviceAccount.name` | Custom service account name, if not created by this chart | '' |
72 | | -| | | |
73 | | -| `ingress.enabled` | Enable ingress controller resource | `false` |
74 | | -| | | |
75 | | -| `ingress.annotations` | Ingress annotations | `{}` |
76 | | -| | | |
77 | | -| `ingress.className` | Ingress ingressClassName | `nginx` |
78 | | -| | | |
79 | | -| `ingress.path` | Path within the host | `/` |
80 | | -| | | |
81 | | -| `ingress.hosts` | List of hostnames | `[meilisearch-example.local]` |
82 | | -| | | |
83 | | -| `ingress.tls` | TLS specification | `[]` |
84 | | -| | | |
85 | | -| `service.port` | Service HTTP port | `7700` |
86 | | -| | | |
87 | | -| `service.type` | Kubernetes Service type | `ClusterIP` |
88 | | -| | | |
89 | | -| `service.externalTrafficPolicy` | Service external traffic policy | `-` (No external traffic policy) |
90 | | -| | | |
91 | | -| `service.loadBalancerIP` | Service load balancer IP | `-` (No load balancer IP) |
92 | | -| | | |
93 | | -| `service.annotations` | Additional annotations for service | `{}` |
94 | | -| | | |
95 | | -| `persistence.enabled` | Enable persistence using PVC | `false` |
96 | | -| | | |
97 | | -| `persistence.existingClaim` | Existing PVC | `false` |
98 | | -| | | |
99 | | -| `persistence.accessMode` | PVC Access Mode | `ReadWriteOnce` |
100 | | -| | | |
101 | | -| `persistence.storageClass` | PVC Storage Class | `-` (No storage class) |
102 | | -| | | |
103 | | -| `persistence.size` | PVC Storage Request | `10Gi` |
104 | | -| | | |
105 | | -| `persistence.annotations` | Additional annotations for PVC | `{}` |
106 | | -| | | |
107 | | -| `resources` | Resources allocation (Requests and Limits) | `{}` |
108 | | -| | | |
109 | | -| `command` | Pod command | `[]` |
110 | | -| | | |
111 | | -| `volumes` | Additional volumes for pod | `[]` |
112 | | -| | | |
113 | | -| `volumeMounts` | Additional volumes to mount on pod | `[]` |
114 | | -| | | |
115 | | -| `containers` | Additional containers for pod | `[]` |
116 | | -| | | |
117 | | -| `tolerations` | Tolerations for pod assignment | `[]` |
118 | | -| | | |
119 | | -| `nodeSelector` | Node labels for pod assignment | `{}` |
120 | | -| | | |
121 | | -| `affinity` | Affinity for pod assignment | `{}` |
122 | | -| | | |
123 | | - |
124 | | - |
125 | | -### Environment |
| 45 | +## Environment |
126 | 46 |
|
127 | 47 | The `environment` block allows to specify all the environment variables declared on [Meilisearch Configuration](https://docs.meilisearch.com/guides/advanced_guides/configuration.html#passing-arguments-via-the-command-line) |
128 | 48 |
|
129 | | -For production deployment, the `environment.MEILI_MASTER_KEY` is required. If `MEILI_ENV` is set to "production" without setting `environment.MEILI_MASTER_KEY`, then this chart will automatically create a secure `environment.MEILI_MASTER_KEY` as a secret. To get the value of this secret, you can read it with this command: `kubectl get secret meilisearch-master-key --template={{.data.MEILI_MASTER_KEY}} | base64 --decode`. You can also use `auth.existingMasterKeySecret` to use an existing secret that has the key `MEILI_MASTER_KEY` |
| 49 | +For production deployment, the `environment.MEILI_MASTER_KEY` is required. If `MEILI_ENV` is set to "production" without setting `environment.MEILI_MASTER_KEY`, then this chart will automatically create a secure `environment.MEILI_MASTER_KEY` as a secret. |
| 50 | + |
| 51 | +You can also use `auth.existingMasterKeySecret` to use an existing secret that has the key `MEILI_MASTER_KEY` |
| 52 | + |
| 53 | +## Values |
| 54 | + |
| 55 | +| Key | Type | Default | Description | |
| 56 | +|-----|------|---------|-------------| |
| 57 | +| affinity | object | `{}` | Affinity for pod assignment | |
| 58 | +| auth.existingMasterKeySecret | string | `""` | Use an existing Kubernetes secret for the MEILI_MASTER_KEY | |
| 59 | +| command | list | `[]` | Pod command | |
| 60 | +| container.containerPort | int | `7700` | | |
| 61 | +| containers | list | `[]` | Additional containers for pod | |
| 62 | +| customLabels | object | `{}` | Additional labels to add to all resources | |
| 63 | +| envFrom | list | `[]` | Additional environment variables from ConfigMap or secrets | |
| 64 | +| environment.MEILI_ENV | string | `"development"` | Sets the environment. Either **production** or **development** | |
| 65 | +| environment.MEILI_NO_ANALYTICS | bool | `true` | Deactivates analytics | |
| 66 | +| fullnameOverride | string | `""` | String to fully override meilisearch.fullname | |
| 67 | +| image.pullPolicy | string | `"IfNotPresent"` | Meilisearch image pull policy | |
| 68 | +| image.pullSecret | string | `nil` | Secret to authenticate against the docker registry | |
| 69 | +| image.repository | string | `"getmeili/meilisearch"` | Meilisearch image name | |
| 70 | +| image.tag | string | `"v1.2.0"` | Meilisearch image tag | |
| 71 | +| ingress.annotations | object | `{}` | Ingress annotations | |
| 72 | +| ingress.className | string | `"nginx"` | Ingress ingressClassName | |
| 73 | +| ingress.enabled | bool | `false` | Enable ingress controller resource | |
| 74 | +| ingress.hosts | list | `["meilisearch-example.local"]` | List of hostnames | |
| 75 | +| ingress.path | string | `"/"` | Path within the host | |
| 76 | +| ingress.tls | list | `[]` | TLS specification | |
| 77 | +| livenessProbe.InitialDelaySeconds | int | `0` | | |
| 78 | +| livenessProbe.periodSeconds | int | `10` | | |
| 79 | +| nameOverride | string | `""` | String to partially override meilisearch.fullname | |
| 80 | +| nodeSelector | object | `{}` | Node labels for pod assignment | |
| 81 | +| persistence.accessMode | string | `"ReadWriteOnce"` | PVC Access Mode | |
| 82 | +| persistence.annotations | object | `{}` | Additional annotations for PVC | |
| 83 | +| persistence.enabled | bool | `false` | Enable persistence using PVC | |
| 84 | +| persistence.existingClaim | string | `""` | Existing PVC | |
| 85 | +| persistence.size | string | `"10Gi"` | PVC Storage Request | |
| 86 | +| persistence.storageClass | string | `"-"` | PVC Storage Class | |
| 87 | +| persistence.volume.mountPath | string | `"/meili_data"` | | |
| 88 | +| persistence.volume.name | string | `"data"` | | |
| 89 | +| podAnnotations | object | `{}` | | |
| 90 | +| readinessProbe.InitialDelaySeconds | int | `0` | | |
| 91 | +| readinessProbe.periodSeconds | int | `10` | | |
| 92 | +| replicaCount | int | `1` | Number of Meilisearch pods to run | |
| 93 | +| resources | object | `{}` | Resources allocation (Requests and Limits) | |
| 94 | +| service | object | `{"annotations":{},"port":7700,"type":"ClusterIP"}` | Service HTTP port | |
| 95 | +| service.annotations | object | `{}` | Additional annotations for service | |
| 96 | +| service.type | string | `"ClusterIP"` | Kubernetes Service type | |
| 97 | +| serviceAccount.annotations | object | `{}` | Additional annotations for created service account | |
| 98 | +| serviceAccount.create | bool | `true` | Should this chart create a service account | |
| 99 | +| serviceAccount.name | string | `""` | Custom service account name, if not created by this chart | |
| 100 | +| startupProbe.InitialDelaySeconds | int | `1` | | |
| 101 | +| startupProbe.failureThreshold | int | `60` | | |
| 102 | +| startupProbe.periodSeconds | int | `1` | | |
| 103 | +| tolerations | list | `[]` | Tolerations for pod assignment | |
| 104 | +| volumeMounts | list | `[]` | Additional volumes to mount on pod | |
| 105 | +| volumes | list | `[]` | Additional volumes for pod | |
| 106 | + |
| 107 | +---------------------------------------------- |
| 108 | +Autogenerated from chart metadata using [helm-docs v1.11.0](https://github.com/norwoodj/helm-docs/releases/v1.11.0) |
0 commit comments