chore: build
ci-api / test (push) Successful in 23m50s
ci-web / test (push) Successful in 13m43s

This commit is contained in:
Xor290
2026-10-04 12:52:16 +02:00
parent 8d857faa45
commit 4bb8c143e2
29 changed files with 2256 additions and 1561 deletions
@@ -5,6 +5,16 @@ app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
{{- end }}
{{/*
Condition Traefik sur le nom d'hôte : l'hôte par défaut, plus les domaines
personnalisés du client (extraHosts) — ex. Host(`a.vitrine-omnex.club`) || Host(`boutique.client.fr`).
*/}}
{{- define "ingressroute.hostRule" -}}
{{- $hosts := list (printf "Host(`%s`)" .Values.host) -}}
{{- range .Values.extraHosts }}{{ $hosts = append $hosts (printf "Host(`%s`)" .) }}{{ end -}}
{{- join " || " $hosts -}}
{{- end }}
{{- define "ingressroute.backendService" -}}
{{- .Values.backend.serviceName | default (printf "%s-backend-vitrine-backend" .Release.Namespace) }}
{{- end }}