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:
Stavros Kois
2022-10-10 00:42:24 +03:00
committed by GitHub
parent 74ea718fc4
commit 9dc9d3e71a
3 changed files with 9 additions and 5 deletions

View File

@@ -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

View File

@@ -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 -}}

View File

@@ -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: