Update _helpers.tpl
This commit is contained in:
parent
b000b5e03a
commit
190787a69a
|
@ -80,11 +80,13 @@ Create the default allowlist file path and filename
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
{{/*
|
{{/*
|
||||||
Create the default blocklist file path and filename
|
Create the blocklist file path and filename
|
||||||
*/}}
|
*/}}
|
||||||
|
{{- if .Values.fediblockhole.block_file.path && .Values.fediblockhole.block_file.filename }}
|
||||||
{{- define "fediblockhole.block_file_path" -}}
|
{{- define "fediblockhole.block_file_path" -}}
|
||||||
{{- default "/etc/default/" .Values.fediblockhole.block_file.path }}
|
{{- .Values.fediblockhole.block_file.path }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- define "fediblockhole.block_file_filename" -}}
|
{{- define "fediblockhole.block_file_filename" -}}
|
||||||
{{- default "blocklist.csv" .Values.fediblockhole.block_file.filename }}
|
{{- .Values.fediblockhole.block_file.filename }}
|
||||||
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
Loading…
Reference in New Issue