diff --git a/charts/spire/templates/_spire-lib.tpl b/charts/spire/templates/_spire-lib.tpl index 239efc1..db33cee 100644 --- a/charts/spire/templates/_spire-lib.tpl +++ b/charts/spire/templates/_spire-lib.tpl @@ -94,7 +94,7 @@ */}} {{ define "spire-lib.ingress-calculated-name" }} {{- $host := .ingress.host }} -{{- if not (contains $host ".") }} +{{- if not (contains "." $host) }} {{- $host = printf "%s.%s" $host (include "spire-lib.trust-domain" .) }} {{- end }} {{- $host }}