Skip to content

A simple, but effective script to update one's meilisearch that was deployed using Helm

License

Notifications You must be signed in to change notification settings

maxroll-media-group/meilisearch-helm-update-script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Meilisearch Update Script


Why was this made?

This was made because I found it very tedius to update meilisearch it I didn't want to risk making simple mistakes. So I made this script which may not be perfect but it gets the job done with minimal downtime. Also it was made because it's not very convinient to update meilisearch when it's deployed in Kubernetes.

Assumptions

This script assumes you have the following cli tools installed:

  • kubectl (connected to the cluster that contains the meilisearch instance)
  • Helm 3
  • jq
  • yq

It also assumes you installed Meilisearch using Helm and you are upgrading from a version newer than 1.0.0

how to use

Update to the latest release:

$ bash patch_meilisearch.sh <helm release name> <namespace> <master key>

You can also specify a specific version:

$ bash patch_meilisearch.sh <helm release name> <namespace> <master key> <helm release version>

About

A simple, but effective script to update one's meilisearch that was deployed using Helm

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages