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
13 changes: 0 additions & 13 deletions charts/sourcegraph/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,19 +90,6 @@ In addition to the documented values, all services also support the following va
| codeIntelDB.serviceAccount.create | bool | `false` | Enable creation of ServiceAccount for `codeintel-db` |
| codeIntelDB.serviceAccount.name | string | `""` | Name of the ServiceAccount to be created or an existing ServiceAccount |
| codeIntelDB.storageSize | string | `"200Gi"` | PVC Storage Request for `codeintel-db` data volume |
| embeddings.containerSecurityContext | object | `{"allowPrivilegeEscalation":false,"readOnlyRootFilesystem":true,"runAsGroup":101,"runAsUser":100}` | Security context for the `embeddings` container, learn more from the [Kubernetes documentation](https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container) |
| embeddings.enabled | bool | `false` | Enable `embeddings` |
| embeddings.env | object | `{}` | Environment variables for the `embeddings` container |
| embeddings.extraVolumeMounts | object | `{}` | |
| embeddings.extraVolumes | object | `{}` | |
| embeddings.image.defaultTag | string | `"5.6.185@sha256:39b1607ba71da47cfe85f55026b7435654de324477bed5da112b39ab2ac1314b"` | Docker image tag for the `embeddings` image |
| embeddings.image.name | string | `"embeddings"` | Docker image name for the `embeddings` image |
| embeddings.name | string | `"embeddings"` | Name of the `embeddings` service |
| embeddings.podSecurityContext | object | `{}` | Security context for the `embeddings` container, learn more from the [Kubernetes documentation](https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container) |
| embeddings.resources | object | `{"limits":{"cpu":"8","memory":"64G"},"requests":{"cpu":"4","memory":"32G"}}` | Resource requests & limits for the `worker` container, learn more from the [Kubernetes documentation](https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/) |
| embeddings.serviceAccount.annotations | object | `{}` | |
| embeddings.serviceAccount.create | bool | `false` | Enable creation of ServiceAccount for `embeddings` |
| embeddings.serviceAccount.name | string | `""` | Name of the ServiceAccount to be created or an existing ServiceAccount |
| extraResources | list | `[]` | Additional resources to include in the rendered manifest. Templates are supported. |
| frontend.containerSecurityContext | object | `{"allowPrivilegeEscalation":false,"readOnlyRootFilesystem":true,"runAsGroup":101,"runAsUser":100}` | Security context for the `frontend` container, learn more from the [Kubernetes documentation](https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container) |
| frontend.env | object | the chart will add some default environment values | Environment variables for the `frontend` container |
Expand Down

This file was deleted.

92 changes: 0 additions & 92 deletions charts/sourcegraph/templates/embeddings/embeddings.Deployment.yaml

This file was deleted.

29 changes: 0 additions & 29 deletions charts/sourcegraph/templates/embeddings/embeddings.Service.yaml

This file was deleted.

This file was deleted.

8 changes: 0 additions & 8 deletions charts/sourcegraph/templates/worker/worker.Deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,14 +60,6 @@ spec:
- name: PRECISE_CODE_INTEL_UPLOAD_AWS_ENDPOINT
value: http://blobstore:9000
{{- end }}
{{- if and .Values.embeddings.enabled (not .Values.worker.env.EMBEDDINGS_UPLOAD_BACKEND) }}
- name: EMBEDDINGS_UPLOAD_BACKEND
value: blobstore
{{- end }}
{{- if and .Values.embeddings.enabled (not .Values.worker.env.EMBEDDINGS_UPLOAD_AWS_ENDPOINT) }}
- name: EMBEDDINGS_UPLOAD_AWS_ENDPOINT
value: http://blobstore:9000
{{- end }}
- name: POD_NAME
valueFrom:
fieldRef:
Expand Down
40 changes: 0 additions & 40 deletions charts/sourcegraph/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -282,46 +282,6 @@ codeIntelDB:
# -- PVC Storage Request for `codeintel-db` data volume
storageSize: 200Gi

embeddings:
# -- Enable `embeddings`
enabled: false
# -- Name of the `embeddings` service
name: embeddings
image:
# -- Docker image name for the `embeddings` image
name: "embeddings"
# -- Docker image tag for the `embeddings` image
defaultTag: "5.6.185@sha256:39b1607ba71da47cfe85f55026b7435654de324477bed5da112b39ab2ac1314b"
# -- Resource requests & limits for the `worker` container,
# learn more from the [Kubernetes documentation](https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/)
resources:
limits:
cpu: "8"
memory: 64G
requests:
cpu: "4"
memory: 32G
# -- Environment variables for the `embeddings` container
env: {}
# -- Security context for the `embeddings` container,
# learn more from the [Kubernetes documentation](https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container)
containerSecurityContext:
allowPrivilegeEscalation: false
runAsUser: 100
runAsGroup: 101
readOnlyRootFilesystem: true
# -- Security context for the `embeddings` 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: {}
serviceAccount:
# -- Enable creation of ServiceAccount for `embeddings`
create: false
# -- Name of the ServiceAccount to be created or an existing ServiceAccount
name: ""
annotations: {}
extraVolumeMounts: {}
extraVolumes: {}

frontend:
# -- Environment variables for the `frontend` container
# @default -- the chart will add some default environment values
Expand Down