Skip to content

Commit 18d217f

Browse files
committed
chore: remove old search deployments and values (#4069)
1 parent 18dab3a commit 18d217f

11 files changed

Lines changed: 8 additions & 345 deletions

cypress-tests/cypress/e2e/v2/verifyInfrastructure.cy.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ function retryRequest(
3636
describe("Verify the infrastructure is ready", () => {
3737
it("Can interact with the backend components", () => {
3838
retryRequest("api/data/version", "Data services");
39-
retryRequest("api/search/version", "Search");
4039
retryRequest("api/auth/login", "Gateway");
4140
retryRequest("config.json", "UI client");
4241

@@ -48,7 +47,7 @@ describe("Verify the infrastructure is ready", () => {
4847
});
4948

5049
// Search should return a list of items
51-
const searchUrl = "/api/search/query";
50+
const searchUrl = "/api/data/search/query";
5251
cy.request(searchUrl).then((resp) => {
5352
if (resp.status >= 400 || !("items" in resp.body))
5453
throw new Error("Search endpoints not working as expected.");

cypress-tests/cypress/support/utils/search.utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export function verifySearchIndexing(
1616
);
1717

1818
function attempt(tries: number): Cypress.Chainable<boolean> {
19-
return cy.request(`/api/search/query?q=${query}`).then((response) => {
19+
return cy.request(`/api/data/search/query?q=${query}`).then((response) => {
2020
const success =
2121
matcher === "eq"
2222
? response.body.items && response.body.items.length === expectedItems

helm-chart/renku/templates/ingress.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
{{- $uiserverServicePort := .Values.ui.server.service.port -}}
1111
{{- $webhookServiceFullname := include "renku.graph.webhookService.fullname" . -}}
1212
{{- $knowledgeGraphFullname := include "renku.graph.knowledgeGraph.fullname" . -}}
13-
{{- $searchApiFullname := include "renku.search.searchApi.fullname" . -}}
1413
{{- $renkuFullname := include "renku.fullname" . -}}
1514
{{- $jenaFullname := include "renku-jena.fullname" . -}}
1615
{{- $jenaServicePort := .Values.jena.service.port -}}

helm-chart/renku/templates/network-policies.yaml

Lines changed: 0 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -369,33 +369,6 @@ spec:
369369
---
370370
apiVersion: networking.k8s.io/v1
371371
kind: NetworkPolicy
372-
metadata:
373-
name: ingress-to-search-service-from-gateway
374-
labels:
375-
app: {{ template "renku.name" . }}
376-
chart: {{ template "renku.chart" . }}
377-
release: {{ .Release.Name }}
378-
heritage: {{ .Release.Service }}
379-
spec:
380-
podSelector:
381-
matchLabels:
382-
app: {{ template "renku.search.searchApi.name" . }}
383-
release: {{ .Release.Name }}
384-
policyTypes:
385-
- Ingress
386-
ingress:
387-
- from:
388-
- podSelector:
389-
matchLabels:
390-
app: {{ template "gateway.name" . }}
391-
release: {{ .Release.Name }}
392-
ports:
393-
- protocol: TCP
394-
port: http-search-api
395-
396-
---
397-
apiVersion: networking.k8s.io/v1
398-
kind: NetworkPolicy
399372
metadata:
400373
name: ingress-to-uiserver-from-anywhere
401374
labels:
@@ -637,10 +610,6 @@ spec:
637610
matchLabels:
638611
app: renku-data-tasks
639612
release: {{ .Release.Name }}
640-
- podSelector:
641-
matchLabels:
642-
app: {{ template "renku.search.searchApi.name" . }}
643-
release: {{ .Release.Name }}
644613
ports:
645614
- protocol: TCP
646615
port: redis
@@ -673,12 +642,6 @@ spec:
673642
matchLabels:
674643
app: renku-data-tasks
675644
release: {{ .Release.Name }}
676-
- podSelector:
677-
matchLabels:
678-
app: search-api
679-
- podSelector:
680-
matchLabels:
681-
app: search-provision
682645
ports:
683646
- protocol: TCP
684647
port: http

helm-chart/renku/templates/search/_helpers.tpl

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

helm-chart/renku/templates/search/search-api-deployment.yaml

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

helm-chart/renku/templates/search/search-api-service.yaml

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

helm-chart/renku/templates/search/search-provision-deployment.yaml

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

helm-chart/renku/templates/search/search-provision-service.yaml

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

0 commit comments

Comments
 (0)