I'm trying to add the {{ .Release.Namespace }}
to a string, but it's parsed literally as just {{ .Release.Namespace }}
and not as the namespace itself. I've tried using quotes ("
) and using tpl
, but nothing did the job. I'm using Helm v3.5.4.
In context:
config:
config-proxy: |-
_front__tls
# BEGIN::Redirect to openBalena VPN
acl is_ssl req.ssl_ver 2:3.4
use_backend {{ .Release.Namespace }}_openbalena-vpn_443 if !is_ssl
# END::Redirect to openBalena VPN
Whole values.yaml
is found here, and the above snippet is located here.
I'm using the HAProxy Ingress Helm Chart.
In some parts, as you can see in the values.yaml
, are also using {{ .Release.Namespace }}
, but those are parsed fine (like the TCP options for example).
Thanks in advance!