Skip to content

Commit ffbcdbe

Browse files
remove embeddings (#544)
* remove embeddings * remove all references to embeddings
1 parent d1f3f1b commit ffbcdbe

File tree

7 files changed

+0
-229
lines changed

7 files changed

+0
-229
lines changed

charts/sourcegraph/README.md

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -90,19 +90,6 @@ In addition to the documented values, all services also support the following va
9090
| codeIntelDB.serviceAccount.create | bool | `false` | Enable creation of ServiceAccount for `codeintel-db` |
9191
| codeIntelDB.serviceAccount.name | string | `""` | Name of the ServiceAccount to be created or an existing ServiceAccount |
9292
| codeIntelDB.storageSize | string | `"200Gi"` | PVC Storage Request for `codeintel-db` data volume |
93-
| 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) |
94-
| embeddings.enabled | bool | `false` | Enable `embeddings` |
95-
| embeddings.env | object | `{}` | Environment variables for the `embeddings` container |
96-
| embeddings.extraVolumeMounts | object | `{}` | |
97-
| embeddings.extraVolumes | object | `{}` | |
98-
| embeddings.image.defaultTag | string | `"5.6.185@sha256:39b1607ba71da47cfe85f55026b7435654de324477bed5da112b39ab2ac1314b"` | Docker image tag for the `embeddings` image |
99-
| embeddings.image.name | string | `"embeddings"` | Docker image name for the `embeddings` image |
100-
| embeddings.name | string | `"embeddings"` | Name of the `embeddings` service |
101-
| 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) |
102-
| 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/) |
103-
| embeddings.serviceAccount.annotations | object | `{}` | |
104-
| embeddings.serviceAccount.create | bool | `false` | Enable creation of ServiceAccount for `embeddings` |
105-
| embeddings.serviceAccount.name | string | `""` | Name of the ServiceAccount to be created or an existing ServiceAccount |
10693
| extraResources | list | `[]` | Additional resources to include in the rendered manifest. Templates are supported. |
10794
| 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) |
10895
| frontend.env | object | the chart will add some default environment values | Environment variables for the `frontend` container |

charts/sourcegraph/examples/external-object-storage-embeddings/override.yaml

Lines changed: 0 additions & 36 deletions
This file was deleted.

charts/sourcegraph/templates/embeddings/embeddings.Deployment.yaml

Lines changed: 0 additions & 92 deletions
This file was deleted.

charts/sourcegraph/templates/embeddings/embeddings.Service.yaml

Lines changed: 0 additions & 29 deletions
This file was deleted.

charts/sourcegraph/templates/embeddings/embeddings.ServiceAccount.yaml

Lines changed: 0 additions & 11 deletions
This file was deleted.

charts/sourcegraph/templates/worker/worker.Deployment.yaml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -60,14 +60,6 @@ spec:
6060
- name: PRECISE_CODE_INTEL_UPLOAD_AWS_ENDPOINT
6161
value: http://blobstore:9000
6262
{{- end }}
63-
{{- if and .Values.embeddings.enabled (not .Values.worker.env.EMBEDDINGS_UPLOAD_BACKEND) }}
64-
- name: EMBEDDINGS_UPLOAD_BACKEND
65-
value: blobstore
66-
{{- end }}
67-
{{- if and .Values.embeddings.enabled (not .Values.worker.env.EMBEDDINGS_UPLOAD_AWS_ENDPOINT) }}
68-
- name: EMBEDDINGS_UPLOAD_AWS_ENDPOINT
69-
value: http://blobstore:9000
70-
{{- end }}
7163
- name: POD_NAME
7264
valueFrom:
7365
fieldRef:

charts/sourcegraph/values.yaml

Lines changed: 0 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -282,46 +282,6 @@ codeIntelDB:
282282
# -- PVC Storage Request for `codeintel-db` data volume
283283
storageSize: 200Gi
284284

285-
embeddings:
286-
# -- Enable `embeddings`
287-
enabled: false
288-
# -- Name of the `embeddings` service
289-
name: embeddings
290-
image:
291-
# -- Docker image name for the `embeddings` image
292-
name: "embeddings"
293-
# -- Docker image tag for the `embeddings` image
294-
defaultTag: "5.6.185@sha256:39b1607ba71da47cfe85f55026b7435654de324477bed5da112b39ab2ac1314b"
295-
# -- Resource requests & limits for the `worker` container,
296-
# learn more from the [Kubernetes documentation](https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/)
297-
resources:
298-
limits:
299-
cpu: "8"
300-
memory: 64G
301-
requests:
302-
cpu: "4"
303-
memory: 32G
304-
# -- Environment variables for the `embeddings` container
305-
env: {}
306-
# -- Security context for the `embeddings` container,
307-
# learn more from the [Kubernetes documentation](https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container)
308-
containerSecurityContext:
309-
allowPrivilegeEscalation: false
310-
runAsUser: 100
311-
runAsGroup: 101
312-
readOnlyRootFilesystem: true
313-
# -- Security context for the `embeddings` container,
314-
# learn more from the [Kubernetes documentation](https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container)
315-
podSecurityContext: {}
316-
serviceAccount:
317-
# -- Enable creation of ServiceAccount for `embeddings`
318-
create: false
319-
# -- Name of the ServiceAccount to be created or an existing ServiceAccount
320-
name: ""
321-
annotations: {}
322-
extraVolumeMounts: {}
323-
extraVolumes: {}
324-
325285
frontend:
326286
# -- Environment variables for the `frontend` container
327287
# @default -- the chart will add some default environment values

0 commit comments

Comments
 (0)