Skip to content

Commit 196bdb3

Browse files
authored
Remove GitHub proxy service (#49)
See https://github.com/sourcegraph/sourcegraph/issues/55290, we're removing this service in favor of deployment simplicity with a redis-based equivalent.
1 parent 798b2d1 commit 196bdb3

File tree

17 files changed

+1
-216
lines changed

17 files changed

+1
-216
lines changed

base/monitoring/prometheus/prometheus.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,6 @@ scrape_configs: # Configure targets to scrape
149149
group: sourcegraph-service
150150
targets:
151151
- sourcegraph-frontend:6060
152-
- github-proxy:6060
153152
- repo-updater:6060
154153
- worker:6060
155154
- worker-executors:6996

base/sourcegraph/github-proxy/github-proxy.Deployment.yaml

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

base/sourcegraph/github-proxy/github-proxy.Service.yaml

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

base/sourcegraph/github-proxy/kustomization.yaml

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

base/sourcegraph/kustomization.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ resources:
66
- codeintel-db
77
- embeddings
88
- frontend
9-
- github-proxy
109
- gitserver
1110
- indexed-search
1211
- pgsql

base/sourcegraph/repo-updater/repo-updater.Deployment.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,6 @@ spec:
3131
- name: repo-updater
3232
image: index.docker.io/sourcegraph/repo-updater:216430_2023-05-02_5.0-3cc9006de32c@sha256:c91ae5f636b8a7a1b06d6c899da6a2b40f0be91aaf704116dac1c3a491db6517
3333
env:
34-
# Required when service discovery is disabled
35-
- name: GITHUB_BASE_URL
36-
value: http://github-proxy:80
3734
# 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
3835
- name: OTEL_AGENT_HOST
3936
valueFrom:

components/clusters/old-base/kustomization.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,6 @@ patches:
5959
- path: patches/blobstore/blobstore.Deployment.yaml
6060
- path: patches/cadvisor/cadvisor.DaemonSet.yaml
6161
- path: patches/frontend/sourcegraph-frontend.Deployment.yaml
62-
- path: patches/github-proxy/github-proxy.Deployment.yaml
6362
- path: patches/gitserver/gitserver.StatefulSet.yaml
6463
- path: patches/indexed-search/indexed-search.StatefulSet.yaml
6564
- path: patches/otel-collector/otel-collector.Deployment.yaml

components/clusters/old-base/patches/github-proxy/github-proxy.Deployment.yaml

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

components/enable/otel-collector/kustomization.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ patches:
2121
target:
2222
group: apps
2323
kind: StatefulSet|Deployment
24-
name: sourcegraph-frontend|github-proxy|gitserver|indexed-search|precise-code-intel-worker|repo-updater|searcher|symbols|worker
24+
name: sourcegraph-frontend|gitserver|indexed-search|precise-code-intel-worker|repo-updater|searcher|symbols|worker
2525
version: v1
2626
- patch: |-
2727
- op: add

components/patches/security-context/sourcegraph/github-proxy.Deployment.yaml

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

0 commit comments

Comments
 (0)