Update _helpers.tpl

This commit is contained in:
cunningpike 2023-02-21 14:51:17 -05:00 committed by GitHub
parent b000b5e03a
commit 190787a69a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 3 deletions

View File

@ -80,11 +80,13 @@ Create the default allowlist file path and filename
{{- 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" -}}
{{- default "/etc/default/" .Values.fediblockhole.block_file.path }}
{{- .Values.fediblockhole.block_file.path }}
{{- end }}
{{- define "fediblockhole.block_file_filename" -}}
{{- default "blocklist.csv" .Values.fediblockhole.block_file.filename }}
{{- .Values.fediblockhole.block_file.filename }}
{{- end }}
{{- end }}