File tree Expand file tree Collapse file tree 3 files changed +12
-1
lines changed Expand file tree Collapse file tree 3 files changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ apiVersion: v2
22name : pdf2md
33description : Helm chart for pdf2md pdf2md.trieve.ai
44type : application
5- version : 0.0.10
5+ version : 0.0.11
66appVersion : " sha-b6286ae"
77dependencies :
88 - name : redis
Original file line number Diff line number Diff line change 8585 {{- if $.Values.env }}
8686 {{- toYaml $.Values.env | nindent 12 }}
8787 {{- end }}
88+ {{- if and $.Values.config.chunkr.apiKeyRef $.Values.config.chunkr.apiKeyRef.enabled }}
89+ - name : CHUNKR_API_KEY
90+ valueFrom :
91+ secretKeyRef :
92+ name : {{ $.Values.config.chunkr.apiKeyRef.secretName }}
93+ key : {{ $.Values.config.chunkr.apiKeyRef.secretKey }}
94+ {{- end }}
8895 envFrom :
8996 {{- if $.Values.config.asSecret }}
9097 - secretRef :
Original file line number Diff line number Diff line change @@ -108,6 +108,10 @@ config:
108108 chunkr :
109109 baseUrl : https://api.chunkr.ai
110110 apiKey : lu_*********************************************
111+ apiKeyRef :
112+ enabled : false
113+ secretName : " my-pdf2md-chunkr-secret"
114+ secretKey : " apiKey"
111115
112116 pdf2md :
113117 # PDF2MD has a single ADMIN API apiKey
You can’t perform that action at this time.
0 commit comments