mirror of
https://github.com/truecharts/charts.git
synced 2026-07-15 10:31:21 -03:00
fix(docspell): fix dsc binary location (#4044)
* fix(docspell): fix dsc binary location * Apply suggestions from code review Signed-off-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com> * add a missing flag * hmm * whops * .. * hmm * lint * hmm! * lint * whoops * Apply suggestions from code review Signed-off-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com> Signed-off-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com>
This commit is contained in:
@@ -28,7 +28,7 @@ sources:
|
||||
- https://github.com/eikek/docspell
|
||||
- https://docspell.org/docs/install/docker/
|
||||
- https://docspell.org/docs/configure/defaults/
|
||||
version: 0.0.3
|
||||
version: 0.0.4
|
||||
annotations:
|
||||
truecharts.org/catagories: |
|
||||
- productivity
|
||||
|
||||
@@ -12,6 +12,7 @@ volumeMounts:
|
||||
mountPath: /import
|
||||
command:
|
||||
- dsc
|
||||
- --docspell-url
|
||||
- {{ printf "%v:%v" "http://localhost" .Values.service.main.ports.main.port | quote }}
|
||||
- watch
|
||||
- --recursive
|
||||
@@ -19,10 +20,12 @@ command:
|
||||
- --header
|
||||
- {{ printf "%v:%v" .Values.rest_server.integration_endpoint.http_header.header_name .Values.rest_server.integration_endpoint.http_header.header_value | quote }}
|
||||
{{- if .Values.dsc.language }}
|
||||
- --language {{ .Values.dsc.language }}
|
||||
- --language
|
||||
- {{ .Values.dsc.language }}
|
||||
{{- end }}
|
||||
{{- if .Values.dsc.tag }}
|
||||
- --tag {{ .Values.dsc.tag }}
|
||||
- --tag
|
||||
- {{ .Values.dsc.tag }}
|
||||
{{- end }}
|
||||
{{- if .Values.dsc.not_match_glob }}
|
||||
- --not-matches
|
||||
@@ -35,7 +38,8 @@ command:
|
||||
{{- if eq .Values.dsc.imported_action "delete" }}
|
||||
- --delete
|
||||
{{- else if eq .Values.dsc.imported_action "move" }}
|
||||
- --move {{ .Values.persistence.import.mountPath }}/imported
|
||||
- --move
|
||||
- {{ .Values.persistence.import.mountPath }}/imported
|
||||
{{- end }}
|
||||
- {{ .Values.persistence.import.mountPath }}/docs
|
||||
{{- end -}}
|
||||
|
||||
@@ -10,7 +10,7 @@ joexImage:
|
||||
|
||||
dscImage:
|
||||
repository: tccr.io/truecharts/docspell-dsc
|
||||
tag: v0.38.0@sha256:1f2785b1314ebe7f775b27b79359e5bbb083b4757aa94e36541bdde7e940a47a
|
||||
tag: v0.9.0@sha256:829b2bc83fdfddc8127baef5b1149d96dcf0d5ca93f210fcf1344899c36b400e
|
||||
pullPolicy: IfNotPresent
|
||||
|
||||
args:
|
||||
|
||||
Reference in New Issue
Block a user