scale-catalog/stable/openbooks/3.3.0/templates/_args.tpl

26 lines
543 B
Smarty
Raw Normal View History

2024-07-13 07:59:30 +00:00
{{- 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 -}}