mirror of
https://github.com/outbackdingo/qdrant-helm.git
synced 2026-01-27 18:20:15 +00:00
* Fix probes when Qdrant is served over TLS This also improves the integration test runtime and reliability by not installing a fresh cluster for every test but upgrading it with the new config. Fixes https://github.com/qdrant/qdrant-helm/issues/77 * Deactivate liveness and startup probes by default Since these probes restart the pod on failure, they can disrupt the health of the Qdrant cluster unnecessarily and cause more problems then actually help. Having a readinessProbe is usually enough. * Fix tests * Try to fix connection issues
13 lines
763 B
Bash
13 lines
763 B
Bash
@test "update without security context to security context corrects file permissions" {
|
|
helm upgrade --install qdrant charts/qdrant --set-json 'podSecurityContext=false,containerSecurityContext=false' -n qdrant-helm-integration --wait
|
|
kubectl rollout status statefulset qdrant -n qdrant-helm-integration
|
|
user=$(kubectl exec qdrant-0 -n qdrant-helm-integration -- id -u)
|
|
[ "${user}" = "0" ]
|
|
user=$(kubectl exec qdrant-0 -n qdrant-helm-integration -- whoami)
|
|
[ "${user}" = "root" ]
|
|
helm upgrade --reset-values qdrant charts/qdrant -n qdrant-helm-integration --wait
|
|
kubectl rollout status statefulset qdrant -n qdrant-helm-integration
|
|
user=$(kubectl exec qdrant-0 -n qdrant-helm-integration -- id -u)
|
|
[ "${user}" = "1000" ]
|
|
|
|
} |