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
3 changes: 3 additions & 0 deletions base/sourcegraph/blobstore/blobstore.Deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ spec:
spec:
containers:
- name: blobstore
env:
- name: DEPLOY_TYPE
value: kustomize
image: index.docker.io/sourcegraph/blobstore:8.1.2687@sha256:7407a048bdfbd6e635874963b9f075f9e514d5b10ddd26cda76597a0bcd59ab2
livenessProbe:
httpGet:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ spec:
spec:
initContainers:
- name: migrator
env:
- name: DEPLOY_TYPE
value: kustomize
image: index.docker.io/sourcegraph/migrator:8.1.2687@sha256:c5bf0f81f3b07f7769f694525bef0a2d547a554f99113115a33b0925a16ef5ea
args: ["up"]
resources:
Expand Down Expand Up @@ -58,6 +61,8 @@ spec:
name: sourcegraph-upload
# OTEL_AGENT_HOST must be defined before OTEL_EXPORTER_OTLP_ENDPOINT to substitute the node IP on which the DaemonSet pod instance runs in the latter variable
env:
- name: DEPLOY_TYPE
value: kustomize
- name: OTEL_AGENT_HOST
valueFrom:
fieldRef:
Expand Down
2 changes: 2 additions & 0 deletions base/sourcegraph/gitserver/gitserver.StatefulSet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ spec:
- configMapRef:
name: sourcegraph-upload
env:
- name: DEPLOY_TYPE
value: kustomize
# OTEL_AGENT_HOST must be defined before OTEL_EXPORTER_OTLP_ENDPOINT to substitute the node IP on which the DaemonSet pod instance runs in the latter variable
- name: OTEL_AGENT_HOST
valueFrom:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ spec:
containers:
- name: zoekt-webserver
env:
- name: DEPLOY_TYPE
value: kustomize
# OTEL_AGENT_HOST must be defined before OTEL_EXPORTER_OTLP_ENDPOINT to substitute the node IP on which the DaemonSet pod instance runs in the latter variable
- name: OTEL_AGENT_HOST
valueFrom:
Expand Down Expand Up @@ -63,6 +65,8 @@ spec:
name: data
- name: zoekt-indexserver
env:
- name: DEPLOY_TYPE
value: kustomize
# OTEL_AGENT_HOST must be defined before OTEL_EXPORTER_OTLP_ENDPOINT to substitute the node IP on which the DaemonSet pod instance runs in the latter variable
- name: OTEL_AGENT_HOST
valueFrom:
Expand Down
2 changes: 2 additions & 0 deletions base/sourcegraph/precise-code-intel/worker.Deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ spec:
- configMapRef:
name: sourcegraph-upload
env:
- name: DEPLOY_TYPE
value: kustomize
- name: PRECISE_CODE_INTEL_UPLOAD_BACKEND
value: blobstore
- name: PRECISE_CODE_INTEL_UPLOAD_AWS_ENDPOINT
Expand Down
2 changes: 2 additions & 0 deletions base/sourcegraph/searcher/searcher.StatefulSet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ spec:
- configMapRef:
name: sourcegraph-upload
env:
- name: DEPLOY_TYPE
value: kustomize
- name: SEARCHER_CACHE_SIZE_MB
value: "25000"
- name: POD_NAME
Expand Down
2 changes: 2 additions & 0 deletions base/sourcegraph/syntactic-code-intel/worker.Deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ spec:
- configMapRef:
name: sourcegraph-upload
env:
- name: DEPLOY_TYPE
value: kustomize
- name: PRECISE_CODE_INTEL_UPLOAD_BACKEND
value: blobstore
- name: PRECISE_CODE_INTEL_UPLOAD_AWS_ENDPOINT
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ spec:
spec:
containers:
- name: syntect-server
env:
- name: DEPLOY_TYPE
value: kustomize
securityContext:
allowPrivilegeEscalation: false
runAsGroup: 101
Expand Down
2 changes: 2 additions & 0 deletions base/sourcegraph/worker/worker.Deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ spec:
- configMapRef:
name: sourcegraph-upload
env:
- name: DEPLOY_TYPE
value: kustomize
- name: PRECISE_CODE_INTEL_UPLOAD_BACKEND
value: blobstore
- name: PRECISE_CODE_INTEL_UPLOAD_AWS_ENDPOINT
Expand Down
2 changes: 2 additions & 0 deletions components/executors/dind/executor.Deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ spec:
periodSeconds: 5
terminationMessagePolicy: FallbackToLogsOnError
env:
- name: DEPLOY_TYPE
value: kustomize
- name: EXECUTOR_FRONTEND_PASSWORD
valueFrom:
secretKeyRef:
Expand Down
2 changes: 2 additions & 0 deletions components/executors/k8s/executor.Deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ spec:
periodSeconds: 5
terminationMessagePolicy: FallbackToLogsOnError
env:
- name: DEPLOY_TYPE
value: kustomize
- name: EXECUTOR_FRONTEND_PASSWORD
valueFrom:
secretKeyRef:
Expand Down
3 changes: 3 additions & 0 deletions components/utils/migrator/resources/migrator.Job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ spec:
spec:
containers:
- name: migrator
env:
- name: DEPLOY_TYPE
value: kustomize
image: index.docker.io/sourcegraph/migrator:8.1.2687@sha256:c5bf0f81f3b07f7769f694525bef0a2d547a554f99113115a33b0925a16ef5ea
args: ["up"]
envFrom:
Expand Down
Loading