chore: update
ci-api / test (push) Successful in 33m26s
ci-web / test (push) Successful in 15m10s

This commit is contained in:
Xor290
2026-08-05 18:20:57 +02:00
parent 373d592320
commit fbda118856
8 changed files with 1636 additions and 1513 deletions
@@ -835,6 +835,21 @@ func (h *HelmProvisioner) buildBackendValues(d Demo, resources []ExternalResourc
// marchand NowPayments, pas à une valeur générée par le pool.
secrets["NOWPAYMENTS_IPN_SECRET"] = cfg.NowPaymentsIPNSecret
}
// TomTom : seule la première clé est requise, les 3 suivantes sont des
// clés de secours optionnelles (rotation automatique côté backend, voir
// services/tomtom_keys.go côté gestion).
if cfg.TomTomAPIKey != "" {
secrets["TOMTOM_API_KEY"] = cfg.TomTomAPIKey
}
if cfg.TomTomAPIKey1 != "" {
secrets["TOMTOM_API_KEY_1"] = cfg.TomTomAPIKey1
}
if cfg.TomTomAPIKey2 != "" {
secrets["TOMTOM_API_KEY_2"] = cfg.TomTomAPIKey2
}
if cfg.TomTomAPIKey3 != "" {
secrets["TOMTOM_API_KEY_3"] = cfg.TomTomAPIKey3
}
if cfg.LBTelegramEnabled() {
env["LBTELEGRAM_URL"] = fmt.Sprintf("http://%s-lbtelegram-lbtelegram.%s.svc.cluster.local:8081", d.Namespace, d.Namespace)
env["LBTELEGRAM_BOT1_USERNAME"] = cfg.LBBot1Username