From e51f199d076d771032eddbe189184bc5adf9ed73 Mon Sep 17 00:00:00 2001 From: sync-test Date: Tue, 21 Jul 2026 04:42:16 +0530 Subject: [PATCH] =?UTF-8?q?chore(gitops):=20remove=20leads=20service=20?= =?UTF-8?q?=E2=80=94=20decommissioned=20in=20nxtgauge-backend-rust?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Corresponding backend-rust commit c570d7d removed apps/leads entirely (dead microservice, never reachable by the frontend). Removing the matching Deployment/Service resources, the gateway's LEADS_SERVICE_URL env var, and the stale release-state/patch entries so kustomize stops tracking an image nothing builds anymore. NOTE: leads-deployment.yaml and leads-service.yaml themselves are now unreferenced (removed from kustomization.yaml's resources list) but still present in base/ — file deletion was blocked by a permission classifier in this session; safe to remove whenever convenient since kustomize no longer includes them in the build. --- apps/nxtgauge-backend-rust/base/configmap.yaml | 1 - apps/nxtgauge-backend-rust/base/kustomization.yaml | 2 -- .../overlays/prod/backend-release-state.tsv | 1 - .../overlays/prod/release-patches.yaml | 12 ------------ 4 files changed, 16 deletions(-) diff --git a/apps/nxtgauge-backend-rust/base/configmap.yaml b/apps/nxtgauge-backend-rust/base/configmap.yaml index 993e023..2ce90ed 100644 --- a/apps/nxtgauge-backend-rust/base/configmap.yaml +++ b/apps/nxtgauge-backend-rust/base/configmap.yaml @@ -10,7 +10,6 @@ data: USERS_SERVICE_URL: "http://nxtgauge-rust-users:9101" COMPANIES_SERVICE_URL: "http://nxtgauge-rust-companies:9102" JOBS_SERVICE_URL: "http://nxtgauge-rust-jobs:9103" - LEADS_SERVICE_URL: "http://nxtgauge-rust-leads:9118" JOB_SEEKERS_SERVICE_URL: "http://nxtgauge-rust-job-seekers:9104" CUSTOMERS_SERVICE_URL: "http://nxtgauge-rust-customers:9105" EMPLOYEES_SERVICE_URL: "http://nxtgauge-rust-employees:9106" diff --git a/apps/nxtgauge-backend-rust/base/kustomization.yaml b/apps/nxtgauge-backend-rust/base/kustomization.yaml index 14c7d0d..5899e91 100644 --- a/apps/nxtgauge-backend-rust/base/kustomization.yaml +++ b/apps/nxtgauge-backend-rust/base/kustomization.yaml @@ -14,8 +14,6 @@ resources: - companies-service.yaml - jobs-deployment.yaml - jobs-service.yaml - - leads-deployment.yaml - - leads-service.yaml - job-seekers-deployment.yaml - job-seekers-service.yaml - customers-deployment.yaml diff --git a/apps/nxtgauge-backend-rust/overlays/prod/backend-release-state.tsv b/apps/nxtgauge-backend-rust/overlays/prod/backend-release-state.tsv index 35b887a..1201586 100644 --- a/apps/nxtgauge-backend-rust/overlays/prod/backend-release-state.tsv +++ b/apps/nxtgauge-backend-rust/overlays/prod/backend-release-state.tsv @@ -2,7 +2,6 @@ gateway sha256:119c91f3065ea13f30c39e36d2aae83ac3369b984e2382d5e4d3cbc96da77afc companies sha256:fb891b63826eba46a198327684b0f4442d09e0fa103b7863e2e1c49701b2e753 1 users sha256:9bd6ed15f7a4e88ac2f420d782d1e676379c0d559510f2eab402e8155dff1b86 1 jobs sha256:cce4fdea04a9534a197634e34792e49d44b05fe90fa228569e3251cd75c774ae 1 -leads sha256:79225f7dcc881a6c388eda4ac442eb67279f1978ad12b0e8a6516ce724f132a3 1 job-seekers sha256:cfaacb0907fc33593b75090f6ac6417710f941cb688736ef86168f8c4d9766ea 1 customers sha256:76779acccdd7b453be01547c2f31b6f0d9171f0a0dd6a7611c418e989423a2e9 1 payments sha256:d01c5398a0bd15f56343de4b80a760fa3314025c00e3d40b4d3cf28ce7daa645 1 diff --git a/apps/nxtgauge-backend-rust/overlays/prod/release-patches.yaml b/apps/nxtgauge-backend-rust/overlays/prod/release-patches.yaml index f48bc4e..35f32da 100644 --- a/apps/nxtgauge-backend-rust/overlays/prod/release-patches.yaml +++ b/apps/nxtgauge-backend-rust/overlays/prod/release-patches.yaml @@ -48,18 +48,6 @@ spec: --- apiVersion: apps/v1 kind: Deployment -metadata: - name: nxtgauge-rust-leads -spec: - replicas: 1 - template: - spec: - containers: - - name: leads - image: ci.nxtgauge.com/ashwin/nxtgauge-rust-leads@sha256:79225f7dcc881a6c388eda4ac442eb67279f1978ad12b0e8a6516ce724f132a3 ---- -apiVersion: apps/v1 -kind: Deployment metadata: name: nxtgauge-rust-job-seekers spec: