Update _helpers.tpl
This commit is contained in:
parent
7710c5d7dc
commit
75a5a6a55b
|
@ -63,16 +63,8 @@ checksum/config-configmap: {{ include ( print $.Template.BasePath "/configmap-co
|
||||||
Create the default conf file path and filename
|
Create the default conf file path and filename
|
||||||
*/}}
|
*/}}
|
||||||
{{- define "fediblockhole.conf_file_path" -}}
|
{{- define "fediblockhole.conf_file_path" -}}
|
||||||
{{- if .Values.fediblockhole.conf_file.path }}
|
{{- default "/etc/default/" .Values.fediblockhole.conf_file.path }}
|
||||||
{{- .Values.fediblockhole.conf_file.path }}
|
|
||||||
{{- else }}
|
|
||||||
{{- "/etc/default/" }}
|
|
||||||
{{- end }}
|
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- define "fediblockhole.conf_file_filename" -}}
|
{{- define "fediblockhole.conf_file_filename" -}}
|
||||||
{{- if .Values.fediblockhole.conf_file.filename }}
|
{{- default "fediblockhole.conf.toml" .Values.fediblockhole.conf_file.filename }}
|
||||||
{{- .Values.fediblockhole.conf_file.filename }}
|
|
||||||
{{- else }}
|
|
||||||
{{- "fediblockhole.conf.toml" }}
|
|
||||||
{{- end }}
|
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
Loading…
Reference in New Issue