diff --git a/base/sourcegraph/frontend/sourcegraph-frontend.Deployment.yaml b/base/sourcegraph/frontend/sourcegraph-frontend.Deployment.yaml index 4dfc4197..fdfbe5a4 100644 --- a/base/sourcegraph/frontend/sourcegraph-frontend.Deployment.yaml +++ b/base/sourcegraph/frontend/sourcegraph-frontend.Deployment.yaml @@ -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: diff --git a/base/sourcegraph/gitserver/gitserver.StatefulSet.yaml b/base/sourcegraph/gitserver/gitserver.StatefulSet.yaml index 54d3abc1..171d644c 100644 --- a/base/sourcegraph/gitserver/gitserver.StatefulSet.yaml +++ b/base/sourcegraph/gitserver/gitserver.StatefulSet.yaml @@ -31,8 +31,6 @@ 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: @@ -40,6 +38,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/gitserver:8.1.2687@sha256:03c984acc6e69ed015ecf01402cf22f7b8b90582a0791a48adf695df8b97bd39 terminationMessagePolicy: FallbackToLogsOnError # Temporary: when migrating from repo names to repo IDs on disk, diff --git a/base/sourcegraph/indexed-search/indexed-search.StatefulSet.yaml b/base/sourcegraph/indexed-search/indexed-search.StatefulSet.yaml index f507f789..7e61020b 100644 --- a/base/sourcegraph/indexed-search/indexed-search.StatefulSet.yaml +++ b/base/sourcegraph/indexed-search/indexed-search.StatefulSet.yaml @@ -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: @@ -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: @@ -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: @@ -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: diff --git a/base/sourcegraph/precise-code-intel/worker.Deployment.yaml b/base/sourcegraph/precise-code-intel/worker.Deployment.yaml index cad04807..a0c33e0e 100644 --- a/base/sourcegraph/precise-code-intel/worker.Deployment.yaml +++ b/base/sourcegraph/precise-code-intel/worker.Deployment.yaml @@ -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 @@ -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: diff --git a/base/sourcegraph/searcher/searcher.StatefulSet.yaml b/base/sourcegraph/searcher/searcher.StatefulSet.yaml index be28349f..f48628d0 100644 --- a/base/sourcegraph/searcher/searcher.StatefulSet.yaml +++ b/base/sourcegraph/searcher/searcher.StatefulSet.yaml @@ -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 @@ -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: diff --git a/base/sourcegraph/syntactic-code-intel/worker.Deployment.yaml b/base/sourcegraph/syntactic-code-intel/worker.Deployment.yaml index 1270af6e..5cf8c2d5 100644 --- a/base/sourcegraph/syntactic-code-intel/worker.Deployment.yaml +++ b/base/sourcegraph/syntactic-code-intel/worker.Deployment.yaml @@ -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 @@ -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: diff --git a/base/sourcegraph/worker/worker.Deployment.yaml b/base/sourcegraph/worker/worker.Deployment.yaml index 4b2c791e..37746a1f 100644 --- a/base/sourcegraph/worker/worker.Deployment.yaml +++ b/base/sourcegraph/worker/worker.Deployment.yaml @@ -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 @@ -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: diff --git a/components/executors/dind/executor.Deployment.yaml b/components/executors/dind/executor.Deployment.yaml index a6d78ca1..e997a1df 100644 --- a/components/executors/dind/executor.Deployment.yaml +++ b/components/executors/dind/executor.Deployment.yaml @@ -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: diff --git a/components/executors/k8s/executor.Deployment.yaml b/components/executors/k8s/executor.Deployment.yaml index 3cabe164..47a9e5a4 100644 --- a/components/executors/k8s/executor.Deployment.yaml +++ b/components/executors/k8s/executor.Deployment.yaml @@ -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: