Update _helpers.tpl

This commit is contained in:
cunningpike 2023-01-23 13:40:55 -05:00 committed by GitHub
parent b0166262be
commit 2c55d31397
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -64,15 +64,15 @@ Create the default conf file path and filename
*/}} */}}
{{- define "fediblockhole.conf_file_path" -}} {{- define "fediblockhole.conf_file_path" -}}
{{- if .Values.fediblockhole.conf_file.path }} {{- if .Values.fediblockhole.conf_file.path }}
{{- default .Values.fediblockhole.conf_file.path }} {{- .Values.fediblockhole.conf_file.path }}
{{- else }} {{- else }}
{{- default "/etc/default/" }} {{- "/etc/default/" }}
{{- end }} {{- end }}
{{- end }} {{- end }}
{{- define "fediblockhole.conf_file_filename" -}} {{- define "fediblockhole.conf_file_filename" -}}
{{- if .Values.fediblockhole.conf_file.filename }} {{- if .Values.fediblockhole.conf_file.filename }}
{{- default .Values.fediblockhole.conf_file.filename }} {{- .Values.fediblockhole.conf_file.filename }}
{{- else }} {{- else }}
{{- default "fediblockhole.conf.toml" }} {{- "fediblockhole.conf.toml" }}
{{- end }} {{- end }}
{{- end }} {{- end }}