Update _helpers.tpl
This commit is contained in:
parent
3d76de04aa
commit
5fb81fa227
|
@ -68,3 +68,23 @@ Create the default conf file path and filename
|
||||||
{{- define "fediblockhole.conf_file_filename" -}}
|
{{- define "fediblockhole.conf_file_filename" -}}
|
||||||
{{- default "fediblockhole.conf.toml" .Values.fediblockhole.conf_file.filename }}
|
{{- default "fediblockhole.conf.toml" .Values.fediblockhole.conf_file.filename }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
|
{{/*
|
||||||
|
Create the default allowlist file path and filename
|
||||||
|
*/}}
|
||||||
|
{{- define "fediblockhole.allow_file_path" -}}
|
||||||
|
{{- default "/etc/default/" .Values.fediblockhole.allow_file.path }}
|
||||||
|
{{- end }}
|
||||||
|
{{- define "fediblockhole.allow_file_filename" -}}
|
||||||
|
{{- default "allowlist.csv" .Values.fediblockhole.allow_file.filename }}
|
||||||
|
{{- end }}
|
||||||
|
|
||||||
|
{{/*
|
||||||
|
Create the default blocklist file path and filename
|
||||||
|
*/}}
|
||||||
|
{{- define "fediblockhole.block_file_path" -}}
|
||||||
|
{{- default "/etc/default/" .Values.fediblockhole.block_file.path }}
|
||||||
|
{{- end }}
|
||||||
|
{{- define "fediblockhole.block_file_filename" -}}
|
||||||
|
{{- default "blocklist.csv" .Values.fediblockhole.block_file.filename }}
|
||||||
|
{{- end }}
|
||||||
|
|
Loading…
Reference in New Issue