scale-catalog/stable/openbooks/4.8.13/templates/_args.tpl
Julian Haseleu 5d1ab94342 cleanup
2024-07-14 21:54:53 +00:00

26 lines
543 B
Smarty

{{- define "openbooks.args" -}}
{{- $openbooks := .Values.openbooks -}}
args:
- --port
- {{ .Values.service.main.ports.main.port | quote }}
- --name
- {{ $openbooks.user_name }}
- --searchbot
- {{ $openbooks.search }}
{{- if $openbooks.tls }}
- --tls
{{- end -}}
{{- if $openbooks.log }}
- --log
{{- end -}}
{{- if $openbooks.debug }}
- --debug
{{- end -}}
{{- if $openbooks.persist }}
- --persist
{{- end -}}
{{- if $openbooks.no_browser_downloads }}
- --no-browser-downloads
{{- end -}}
{{- end -}}