Skip to content

Commit 3c6a222

Browse files
committed
feature: add additionalLabels and additionalMetadata into pdf2md and
firecrawl-simple
1 parent 5245cd0 commit 3c6a222

File tree

13 files changed

+94
-4
lines changed

13 files changed

+94
-4
lines changed

charts/firecrawl-simple/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version: 0.0.2
1+
version: 0.0.3
22
apiVersion: v2
33
name: firecrawl-simple
44
description: "FireCrawl"

charts/firecrawl-simple/templates/api.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,13 @@ spec:
1212
metadata:
1313
labels:
1414
app: firecrawl-api
15+
{{- with .Values.global.additionalLabels }}
16+
{{- toYaml . | nindent 8 }}
17+
{{- end }}
18+
annotations:
19+
{{- with .Values.global.additionalAnnotations }}
20+
{{- toYaml . | nindent 8 }}
21+
{{- end }}
1522
spec:
1623
{{- with .Values.imagePullSecrets }}
1724
imagePullSecrets:

charts/firecrawl-simple/templates/clean-cronjob.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,28 @@ metadata:
55
namespace: {{ .Release.Namespace }}
66
labels:
77
app.kubernetes.io/name: clean-redis-firecrawl
8+
{{- with .Values.global.additionalLabels }}
9+
{{- toYaml . | nindent 4 }}
10+
{{- end }}
11+
annotations:
12+
{{- with .Values.global.additionalAnnotations }}
13+
{{- toYaml . | nindent 4 }}
14+
{{- end }}
815
spec:
916
schedule: "0 * * * *"
1017
concurrencyPolicy: Replace
1118
jobTemplate:
1219
spec:
1320
template:
21+
metadata:
22+
labels:
23+
{{- with .Values.global.additionalLabels }}
24+
{{- toYaml . | nindent 12 }}
25+
{{- end }}
26+
annotations:
27+
{{- with .Values.global.additionalAnnotations }}
28+
{{- toYaml . | nindent 12 }}
29+
{{- end }}
1430
spec:
1531
{{- with .Values.imagePullSecrets }}
1632
imagePullSecrets:

charts/firecrawl-simple/templates/playwright-service.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,13 @@ spec:
1212
metadata:
1313
labels:
1414
app: playwright-service
15+
{{- with .Values.global.additionalLabels }}
16+
{{- toYaml . | nindent 8 }}
17+
{{- end }}
18+
annotations:
19+
{{- with .Values.global.additionalAnnotations }}
20+
{{- toYaml . | nindent 8 }}
21+
{{- end }}
1522
spec:
1623
{{- with .Values.imagePullSecrets }}
1724
imagePullSecrets:

charts/firecrawl-simple/templates/secret.yaml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,14 @@ kind: Secret
33
metadata:
44
name: firecrawl-secret
55
namespace: {{ .Release.Namespace }}
6+
labels:
7+
{{- with .Values.global.additionalLabels }}
8+
{{- toYaml . | nindent 4 }}
9+
{{- end }}
10+
annotations:
11+
{{- with .Values.global.additionalAnnotations }}
12+
{{- toYaml . | nindent 4 }}
13+
{{- end }}
614
type: Opaque
715
data:
816
{{- if $.Values.num_workers_per_queue }}
@@ -22,4 +30,4 @@ data:
2230
{{- if $.Values.scrapingBeeApiKey }}
2331
SCRAPING_BEE_API_KEY: {{ $.Values.scrapingBeeApiKey | b64enc }}
2432
{{- end }}
25-
BULL_AUTH_KEY: {{ "QA==" | b64enc }}
33+
BULL_AUTH_KEY: {{ "QA==" | b64enc }}

charts/firecrawl-simple/templates/worker.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,13 @@ spec:
1212
metadata:
1313
labels:
1414
app: firecrawl-worker
15+
{{- with $.Values.global.additionalLabels }}
16+
{{- toYaml . | nindent 8 }}
17+
{{- end }}
18+
annotations:
19+
{{- with $.Values.global.additionalAnnotations }}
20+
{{- toYaml . | nindent 8 }}
21+
{{- end }}
1522
spec:
1623
{{- with .Values.imagePullSecrets }}
1724
imagePullSecrets:

charts/firecrawl-simple/values.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
global:
2+
additionalAnnotations:
3+
# "helm.sh/hook": post-install
4+
additionalLabels:
5+
# helm.sh/chart: firecrawl
6+
17
puppeeter_service_tag: v0.0.13
28
firecrawl_tag: v0.0.55
39

charts/pdf2md/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v2
22
name: pdf2md
33
description: Helm chart for pdf2md pdf2md.trieve.ai
44
type: application
5-
version: 0.0.9
5+
version: 0.0.10
66
appVersion: "sha-b6286ae"
77
dependencies:
88
- name: redis

charts/pdf2md/templates/configmap.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,13 @@ metadata:
55
name: pdf2md-config
66
labels:
77
app.kubernetes.io/instance: {{ $.Release.Name }}
8+
{{- with .Values.global.additionalLabels }}
9+
{{- toYaml . | nindent 4 }}
10+
{{- end }}
11+
annotations:
12+
{{- with .Values.global.additionalAnnotations }}
13+
{{- toYaml . | nindent 4 }}
14+
{{- end }}
815
data:
916
REDIS_URL: {{ include "pdf2md.redisUrl" . | indent 2 }}
1017

charts/pdf2md/templates/pdf2md-deployments.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,18 @@ metadata:
66
labels:
77
app.kubernetes.io/name: {{ .name }}
88
app.kubernetes.io/instance: {{ $.Release.Name }}
9+
{{- with $.Values.global.additionalLabels }}
10+
{{- toYaml . | nindent 4 }}
11+
{{- end }}
912
annotations:
1013
{{- if $.Values.config.asSecret }}
1114
checksum/config: {{ include (print $.Template.BasePath "/secret.yaml") $ | sha256sum }}
1215
{{- else }}
1316
checksum/config: {{ include (print $.Template.BasePath "/configmap.yaml") $ | sha256sum }}
1417
{{- end }}
18+
{{- with $.Values.global.additionalAnnotations }}
19+
{{- toYaml . | nindent 4 }}
20+
{{- end }}
1521
spec:
1622
selector:
1723
matchLabels:

0 commit comments

Comments
 (0)