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
Original file line number Diff line number Diff line change
Expand Up @@ -61,14 +61,14 @@ 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:
fieldPath: status.hostIP
- name: OTEL_EXPORTER_OTLP_ENDPOINT
value: http://$(OTEL_AGENT_HOST):4317
- name: DEPLOY_TYPE
value: kustomize
terminationMessagePolicy: FallbackToLogsOnError
livenessProbe:
httpGet:
Expand Down
4 changes: 2 additions & 2 deletions base/sourcegraph/gitserver/gitserver.StatefulSet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,15 @@ 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:
fieldRef:
fieldPath: status.hostIP
- name: OTEL_EXPORTER_OTLP_ENDPOINT
value: http://$(OTEL_AGENT_HOST):4317
- name: DEPLOY_TYPE
value: kustomize
image: index.docker.io/sourcegraph/gitserver:8.1.2687@sha256:03c984acc6e69ed015ecf01402cf22f7b8b90582a0791a48adf695df8b97bd39
terminationMessagePolicy: FallbackToLogsOnError
# Temporary: when migrating from repo names to repo IDs on disk,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@ 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 All @@ -35,6 +33,8 @@ spec:
value: http://$(OTEL_AGENT_HOST):4317
- name: OPENTELEMETRY_DISABLED
value: "false"
- name: DEPLOY_TYPE
value: kustomize
image: index.docker.io/sourcegraph/indexed-searcher:8.1.2687@sha256:4f9b1d38da5f6168ee91ed5e2d9c42f851148b12e1a71ee5040f566b6d663837
terminationMessagePolicy: FallbackToLogsOnError
ports:
Expand Down Expand Up @@ -65,8 +65,6 @@ 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 All @@ -76,6 +74,8 @@ spec:
value: http://$(OTEL_AGENT_HOST):4317
- name: OPENTELEMETRY_DISABLED
value: "false"
- name: DEPLOY_TYPE
value: kustomize
image: index.docker.io/sourcegraph/search-indexer:8.1.2687@sha256:1a53fc78048963cf2badc8e8b43fc606d62a2323d36bd631eb01e33910dd22cd
terminationMessagePolicy: FallbackToLogsOnError
ports:
Expand Down
4 changes: 2 additions & 2 deletions base/sourcegraph/precise-code-intel/worker.Deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@ 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 All @@ -51,6 +49,8 @@ spec:
fieldPath: status.hostIP
- name: OTEL_EXPORTER_OTLP_ENDPOINT
value: http://$(OTEL_AGENT_HOST):4317
- name: DEPLOY_TYPE
value: kustomize
image: index.docker.io/sourcegraph/precise-code-intel-worker:8.1.2687@sha256:560ef1edc769959af11f24d220b0dbd5c5c798be1d635e6e4fe06ff560b7835c
terminationMessagePolicy: FallbackToLogsOnError
livenessProbe:
Expand Down
4 changes: 2 additions & 2 deletions base/sourcegraph/searcher/searcher.StatefulSet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,6 @@ spec:
- configMapRef:
name: sourcegraph-upload
env:
- name: DEPLOY_TYPE
value: kustomize
- name: SEARCHER_CACHE_SIZE_MB
value: "25000"
- name: POD_NAME
Expand All @@ -51,6 +49,8 @@ spec:
fieldPath: status.hostIP
- name: OTEL_EXPORTER_OTLP_ENDPOINT
value: http://$(OTEL_AGENT_HOST):4317
- name: DEPLOY_TYPE
value: kustomize
image: index.docker.io/sourcegraph/searcher:8.1.2687@sha256:acfbc9c127ebdbd4053ac835bcf90093f9d8bf4834a6275a549384db4eacd66f
terminationMessagePolicy: FallbackToLogsOnError
ports:
Expand Down
4 changes: 2 additions & 2 deletions base/sourcegraph/syntactic-code-intel/worker.Deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@ 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 All @@ -42,6 +40,8 @@ spec:
valueFrom:
fieldRef:
fieldPath: metadata.name
- name: DEPLOY_TYPE
value: kustomize
image: index.docker.io/sourcegraph/syntactic-code-intel-worker:8.1.2687@sha256:702609626636fd06c204a8a7e18941eb13df096784cea732d1c036069866cc40
terminationMessagePath: FallbackToLogsOnError
livenessProbe:
Expand Down
4 changes: 2 additions & 2 deletions base/sourcegraph/worker/worker.Deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,6 @@ 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 All @@ -53,6 +51,8 @@ spec:
fieldPath: status.hostIP
- name: OTEL_EXPORTER_OTLP_ENDPOINT
value: http://$(OTEL_AGENT_HOST):4317
- name: DEPLOY_TYPE
value: kustomize
image: index.docker.io/sourcegraph/worker:8.1.2687@sha256:5aa40853fc6a8223c373f291ce940f7258d2e882e8ffca7e31af04ec2f2f7922
terminationMessagePolicy: FallbackToLogsOnError
livenessProbe:
Expand Down
4 changes: 2 additions & 2 deletions components/executors/dind/executor.Deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,13 @@ spec:
periodSeconds: 5
terminationMessagePolicy: FallbackToLogsOnError
env:
- name: DEPLOY_TYPE
value: kustomize
- name: EXECUTOR_FRONTEND_PASSWORD
valueFrom:
secretKeyRef:
name: executor-secret
key: password
- name: DEPLOY_TYPE
value: kustomize
# Refer to https://docs.sourcegraph.com/admin/executors/deploy_executors_binary#step-2-setup-environment-variables on how to populate these variables
envFrom:
- configMapRef:
Expand Down
4 changes: 2 additions & 2 deletions components/executors/k8s/executor.Deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,13 @@ spec:
periodSeconds: 5
terminationMessagePolicy: FallbackToLogsOnError
env:
- name: DEPLOY_TYPE
value: kustomize
- name: EXECUTOR_FRONTEND_PASSWORD
valueFrom:
secretKeyRef:
name: executor-secret
key: password
- name: DEPLOY_TYPE
value: kustomize
# Refer to https://docs.sourcegraph.com/admin/executors/deploy_executors_binary#step-2-setup-environment-variables on how to populate these variables
envFrom:
- configMapRef:
Expand Down
Loading