Skip to content

Commit d88e6d5

Browse files
committed
feature: set firecrawl to deploy in its the release namespace
1 parent 659b27a commit d88e6d5

7 files changed

Lines changed: 20 additions & 20 deletions

File tree

charts/firecrawl/templates/api.yaml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
apiVersion: apps/v1
22
kind: Deployment
33
metadata:
4-
name: api
5-
namespace: firecrawl
4+
name: firecrawl-api
5+
namespace: {{ .Release.Namespace }}
66
spec:
77
replicas: 1
88
selector:
99
matchLabels:
10-
app: api
10+
app: firecrawl-api
1111
template:
1212
metadata:
1313
labels:
14-
app: api
14+
app: firecrawl-api
1515
spec:
1616
imagePullSecrets:
1717
- name: trieve-pull-secret
1818
containers:
19-
- name: api
19+
- name: firecrawl-api
2020
image: {{ printf "trieve/firecrawl:%s" $.Values.firecrawl_tag }}
2121
imagePullPolicy: Always
2222
args: ["pnpm", "run", "start:production"]
@@ -32,7 +32,7 @@ spec:
3232
{{- end }}
3333
envFrom:
3434
- secretRef:
35-
name: firecrawl-config
35+
name: firecrawl-secret
3636
livenessProbe:
3737
httpGet:
3838
path: /v1/health/liveness
@@ -55,11 +55,11 @@ spec:
5555
apiVersion: v1
5656
kind: Service
5757
metadata:
58-
name: api
59-
namespace: firecrawl
58+
name: firecrawl-api
59+
namespace: {{ .Release.Namespace }}
6060
spec:
6161
selector:
62-
app: api
62+
app: firecrawl-api
6363
ports:
6464
- protocol: TCP
6565
port: 3002

charts/firecrawl/templates/clean-cronjob.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: batch/v1
22
kind: CronJob
33
metadata:
44
name: clean-redis-firecrawl
5-
namespace: firecrawl
5+
namespace: {{ .Release.Namespace }}
66
labels:
77
app.kubernetes.io/name: clean-redis-firecrawl
88
spec:

charts/firecrawl/templates/playwright-service.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: apps/v1
22
kind: Deployment
33
metadata:
44
name: playwright-service
5-
namespace: firecrawl
5+
namespace: {{ .Release.Namespace }}
66
spec:
77
replicas: 3
88
selector:
@@ -48,7 +48,7 @@ apiVersion: v1
4848
kind: Service
4949
metadata:
5050
name: playwright-service
51-
namespace: firecrawl
51+
namespace: {{ .Release.Namespace }}
5252
spec:
5353
selector:
5454
app: playwright-service

charts/firecrawl/templates/secret.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
apiVersion: v1
22
kind: Secret
33
metadata:
4-
name: firecrawl-config
5-
namespace: firecrawl
4+
name: firecrawl-secret
5+
namespace: {{ .Release.Namespace }}
66
type: Opaque
77
data:
88
{{- if $.Values.num_workers_per_queue }}

charts/firecrawl/templates/worker.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
apiVersion: apps/v1
22
kind: Deployment
33
metadata:
4-
name: worker
5-
namespace: firecrawl
4+
name: firecrawl-worker
5+
namespace: {{ .Release.Namespace }}
66
spec:
77
replicas: 10
88
selector:
99
matchLabels:
10-
app: worker
10+
app: firecrawl-worker
1111
template:
1212
metadata:
1313
labels:
14-
app: worker
14+
app: firecrawl-worker
1515
spec:
1616
imagePullSecrets:
1717
- name: trieve-pull-secret
1818
containers:
19-
- name: worker
19+
- name: firecrawl-worker
2020
image: {{ printf "trieve/firecrawl:%s" $.Values.firecrawl_tag }}
2121
imagePullPolicy: Always
2222
args: ["pnpm", "run", "workers"]
21 Bytes
Binary file not shown.

charts/trieve/templates/settings/backend-secrets.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ data:
7373
USE_ANALYTICS: {{ "true" | b64enc | quote }}
7474
BM25_ACTIVE: {{ .Values.config.trieve.bm25Active | toString | b64enc | quote }}
7575
SUBTRACE_TOKEN: {{ .Values.config.trieve.subtraceToken | b64enc | quote }}
76-
FIRECRAWL_URL: {{ .Values.config.trieve.firecrawlUrl | b64enc | quote }}
76+
FIRECRAWL_URL: http://api.firecrawl.svc.cluster.local:3002
7777
DITTOFEED_API_KEY: {{ .Values.config.trieve.dittofeedApiKey | b64enc | quote }}
7878
CREATE_QDRANT_COLLECTIONS: {{ .Values.config.qdrant.initCollections | toString | b64enc | quote }}
7979
CHAT_COMPLETION_TIMEOUT_SECS: {{ .Values.config.trieve.chatCompletionTimeoutSecs | toString | b64enc | quote }}

0 commit comments

Comments
 (0)