Skip to content

Commit ca8bfbd

Browse files
authored
Qdrant: fix invalid field (#337)
1 parent 41fd9a7 commit ca8bfbd

File tree

4 files changed

+34
-4
lines changed

4 files changed

+34
-4
lines changed

charts/sourcegraph/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ In addition to the documented values, all services also support the following va
265265
| prometheus.serviceAccount.name | string | `"prometheus"` | Name of the ServiceAccount to be created or an existing ServiceAccount |
266266
| prometheus.storageSize | string | `"200Gi"` | PVC Storage Request for `prometheus` data volume |
267267
| qdrant.config | object | `{"debug":true,"log_level":"INFO"}` | Resource requests & limits for the `qdrant` container, learn more from the [Kubernetes documentation](https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/) |
268-
| qdrant.containerSecurityContext | object | `{"allowPrivilegeEscalation":false,"fsGroup":101,"runAsGroup":101,"runAsUser":100}` | Security context for the `qdrant` container, learn more from the [Kubernetes documentation](https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container) |
268+
| qdrant.containerSecurityContext | object | `{"allowPrivilegeEscalation":false,"runAsGroup":101,"runAsUser":100}` | Security context for the `qdrant` container, learn more from the [Kubernetes documentation](https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container) |
269269
| qdrant.enabled | bool | `false` | Enable `qdrant` |
270270
| qdrant.env | object | `{}` | Environment variables for the `qdrant` container |
271271
| qdrant.extraVolumeMounts | object | `{}` | |

charts/sourcegraph/templates/qdrant/qdrant.StatefulSet.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,9 @@ spec:
2020
matchLabels:
2121
{{- include "sourcegraph.selectorLabels" . | nindent 6 }}
2222
app: {{ .Values.qdrant.name }}
23-
strategy:
24-
type: Recreate
23+
serviceName: qdrant
24+
updateStrategy:
25+
type: RollingUpdate
2526
template:
2627
metadata:
2728
annotations:

charts/sourcegraph/values.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,6 @@ qdrant:
352352
allowPrivilegeEscalation: false
353353
runAsUser: 100
354354
runAsGroup: 101
355-
fsGroup: 101
356355
# -- Security context for the `qdrant` container,
357356
# learn more from the [Kubernetes documentation](https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container)
358357
podSecurityContext:

override.yaml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# Disable SC creation
2+
storageClass:
3+
create: true
4+
name: standard
5+
provisioner: docker.io/hostpath
6+
parameters:
7+
reclaimPolicy: Retain
8+
9+
10+
# Disable resources requests/limits
11+
sourcegraph:
12+
localDevMode: true
13+
image:
14+
defaultTag: insiders
15+
useGlobalTagAsDefault: true
16+
# More values to be added in order to test your change
17+
18+
qdrant:
19+
enabled: true
20+
21+
gitserver:
22+
env:
23+
SRC_REPOS_DESIRED_PERCENT_FREE:
24+
value: "0"
25+
26+
frontend:
27+
env:
28+
QDRANT_ENDPOINT:
29+
value: "qdrant:6334"
30+

0 commit comments

Comments
 (0)