mirror of
https://github.com/suitenumerique/meet.git
synced 2026-07-26 11:58:53 +00:00
🩹(helm) fix Helm ingress rendering when passing multiple hosts
Passing a list of hosts in the ingress was broken: the template helpers were called with the current loop context (`.`) instead of the root context (`$`), so the service name was rendered incorrectly inside the hosts loop.
This commit is contained in:
committed by
aleb_the_flash
parent
636c2168be
commit
edab18d94a
@@ -28,6 +28,7 @@ and this project adheres to
|
||||
### Fixed
|
||||
|
||||
- 🛂(backend) reject user access tokens on the API
|
||||
- 🩹(helm) fix Helm ingress rendering when passing multiple hosts
|
||||
|
||||
## [1.21.0] - 2026-06-15
|
||||
|
||||
|
||||
@@ -72,11 +72,11 @@ spec:
|
||||
backend:
|
||||
{{- if semverCompare ">=1.19-0" $.Capabilities.KubeVersion.GitVersion }}
|
||||
service:
|
||||
name: {{ include "meet.posthog.fullname" . }}-proxy
|
||||
name: {{ include "meet.posthog.fullname" $ }}-proxy
|
||||
port:
|
||||
number: {{ $.Values.posthog.service.port }}
|
||||
{{- else }}
|
||||
serviceName: {{ include "meet.posthog.fullname" . }}-proxy
|
||||
serviceName: {{ include "meet.posthog.fullname" $ }}-proxy
|
||||
servicePort: {{ $.Values.posthog.service.port }}
|
||||
{{- end }}
|
||||
{{- with $.Values.posthog.assetsService.customBackends }}
|
||||
|
||||
@@ -72,11 +72,11 @@ spec:
|
||||
backend:
|
||||
{{- if semverCompare ">=1.19-0" $.Capabilities.KubeVersion.GitVersion }}
|
||||
service:
|
||||
name: {{ include "meet.posthog.fullname" . }}-assets-proxy
|
||||
name: {{ include "meet.posthog.fullname" $ }}-assets-proxy
|
||||
port:
|
||||
number: {{ $.Values.posthog.assetsService.service.port }}
|
||||
{{- else }}
|
||||
serviceName: {{ include "meet.posthog.fullname" . }}-assets-proxy
|
||||
serviceName: {{ include "meet.posthog.fullname" $ }}-assets-proxy
|
||||
servicePort: {{ $.Values.posthog.assetsService.service.port }}
|
||||
{{- end }}
|
||||
{{- with $.Values.posthog.assetsService.customBackends }}
|
||||
|
||||
Reference in New Issue
Block a user