mirror of
https://github.com/outbackdingo/qdrant-helm.git
synced 2026-01-27 10:20:18 +00:00
dfff7fac6a24f1418aaf900eb6a0f710ef3f9114
* Make the qdrant api key easily configurable This adds a new `apiKey` value. If `true` it generates a random apiKey, stores it in a secret and ensures that it stays the same during upgrades. If a string is passed, this string is used as the api key. The secret is mounted as a `local.yaml` config into the container. See also https://qdrant.tech/documentation/guides/configuration/#order-and-priority. Alternatively, there are two new values `additionalVolumes` and `additionalVolumeMounts` which allow to mount additional existing volumes, such as pre-existing secrets into the qdrant container. This also adds bats-core based integration tests to test the correct api key handling Signed-off-by: Bastian Hofmann <mail@bastianhofmann.de> * Fix bats integration tests Signed-off-by: Bastian Hofmann <mail@bastianhofmann.de> * Fix bats integration tests Signed-off-by: Bastian Hofmann <mail@bastianhofmann.de> * Fix bats integration tests Signed-off-by: Bastian Hofmann <mail@bastianhofmann.de> * Fix bats integration tests Signed-off-by: Bastian Hofmann <mail@bastianhofmann.de> * Fix statefulset * doc: fix typo --------- Signed-off-by: Bastian Hofmann <mail@bastianhofmann.de> Co-authored-by: Tim Eggert <tim@elbart.com>
Qdrant helm repository
This repository hosts the following helm charts:
Usage
helm repo add qdrant https://qdrant.github.io/qdrant-helm
Running tests
This repository has unit and integration tests for the charts. All charts are also linted.
Linting
Linting is done with helm lint.
Prerequisites:
- Helm
brew install helm
To lint all charts:
make lint
Unit tests
Unit tests are in the ./test directory and written in Go with terratest.
Prerequisites:
- Go
brew install go
To run the tests:
make test-unit
Integration tests
Integration tests are in the ./test/integration directory and written with bats.
There is an additional simple Helm test in ./charts/qdrant/templates/tests.
Prerequisites:
- Docker
- Kind
- Kubectl
- Helm
- Bats
brew install helm kubectl kind bats-core homebrew/cask/docker
To run the tests:
make test-integration
Description
Languages
Go
67.4%
Shell
24.3%
Smarty
8%
Makefile
0.3%