Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion charts/sourcegraph/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ In addition to the documented values, all services also support the following va
| prometheus.serviceAccount.name | string | `"prometheus"` | Name of the ServiceAccount to be created or an existing ServiceAccount |
| prometheus.storageSize | string | `"200Gi"` | PVC Storage Request for `prometheus` data volume |
| 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/) |
| 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) |
| 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) |
| qdrant.enabled | bool | `false` | Enable `qdrant` |
| qdrant.env | object | `{}` | Environment variables for the `qdrant` container |
| qdrant.extraVolumeMounts | object | `{}` | |
Expand Down
5 changes: 3 additions & 2 deletions charts/sourcegraph/templates/qdrant/qdrant.StatefulSet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,9 @@ spec:
matchLabels:
{{- include "sourcegraph.selectorLabels" . | nindent 6 }}
app: {{ .Values.qdrant.name }}
strategy:
type: Recreate
serviceName: qdrant
updateStrategy:
type: RollingUpdate
template:
metadata:
annotations:
Expand Down
1 change: 0 additions & 1 deletion charts/sourcegraph/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,6 @@ qdrant:
allowPrivilegeEscalation: false
runAsUser: 100
runAsGroup: 101
fsGroup: 101
# -- 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)
podSecurityContext:
Expand Down
30 changes: 30 additions & 0 deletions override.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# Disable SC creation
storageClass:
create: true
name: standard
provisioner: docker.io/hostpath
parameters:
reclaimPolicy: Retain


# Disable resources requests/limits
sourcegraph:
localDevMode: true
image:
defaultTag: insiders
useGlobalTagAsDefault: true
# More values to be added in order to test your change

qdrant:
enabled: true

gitserver:
env:
SRC_REPOS_DESIRED_PERCENT_FREE:
value: "0"

frontend:
env:
QDRANT_ENDPOINT:
value: "qdrant:6334"