meilisearch-kubernetes icon indicating copy to clipboard operation
meilisearch-kubernetes copied to clipboard

No namespace property in PersistentVolumeClaim

Open Leen15 opened this issue 2 years ago • 3 comments

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

Leen15 avatar Jun 07 '22 16:06 Leen15

Hi @Leen15, Thanks for raising this issue.

alallema avatar Jun 08 '22 10:06 alallema

@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.

Leen15 avatar Jun 08 '22 10:06 Leen15

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.

alallema avatar Jun 08 '22 10:06 alallema