root domain

This commit is contained in:
Ariel Sosnovsky committed 2024-03-14 13:53:05 -04:00
1 parent add39f31ac
commit 01e5d16d3f
1 file changed
+1 -1
@@ -1,5 +1,5 @@
{{- define "homelab.ingress.domain" -}}
{{- $rootPrefix := (.leadPrefix | default "") -}}
{{- $rootPrefix := empty .leadPrefix | ternary "" (printf "%s." .leadPrefix) -}}
{{- if .useSecondaryDomain -}}
{{$rootPrefix}}{{.global.secondaryDomain}}
{{- else -}}