meilisearch / meilisearch-kubernetes

Meilisearch on Kubernetes Helm charts and manifests
https://www.meilisearch.com
MIT License
212 stars 59 forks source link

No namespace property in PersistentVolumeClaim #120

Open Leen15 opened 2 years ago

Leen15 commented 2 years ago

Description In the generated YAML manifest, the PersistentVolumeClaim hasn't the namespace property.

Expected behavior When the helm chart is created in a namespace that is not "default", the chart should create a PVC in the same namespace of the chart.

Current behavior The chart fails to run due to "persistentvolumeclaim "meilisearch" not found."

Screenshots or Logs image

alallema commented 2 years ago

Hi @Leen15, Thanks for raising this issue.

Leen15 commented 2 years ago

@alallema just another thing: Using a PersistentVolumeClaim invalidate the ability to scale the statefulSet to more than one replica. A volumeClaimTemplate should be used instead.

alallema commented 2 years ago

Thanks for the advice 😊, but at the moment Meilisearch does not have the capacity to handle more than one replica. I let you check both issues for more details #111 #25.