Закрыть внешний вход TLS и выдавать секреты через OpenBao.

LB ходит в API только с клиентским сертификатом нужной identity, остальные связи проверяют серверный сертификат, root token в приложение не попадает.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-11-26 19:48:38 +03:00
co-authored by Cursor
parent fb566d874c
commit 9b501b2020
33 changed files with 1243 additions and 221 deletions
+10
View File
@@ -0,0 +1,10 @@
#!/bin/sh
set -eu
if [ -f /certs/ca.crt ]; then
cat /certs/ca.crt >> /etc/ssl/certs/ca-certificates.crt
fi
if [ -f /run/secrets/grafana_password ]; then
GF_SECURITY_ADMIN_PASSWORD=$(cat /run/secrets/grafana_password)
export GF_SECURITY_ADMIN_PASSWORD
fi
exec /run.sh "$@"
@@ -5,7 +5,7 @@ datasources:
uid: prometheus
type: prometheus
access: proxy
url: http://prometheus:9090
url: https://prometheus:9090
isDefault: true
editable: false
jsonData:
@@ -14,7 +14,7 @@ datasources:
uid: loki
type: loki
access: proxy
url: http://loki:3100
url: https://loki:3100
editable: false
jsonData:
derivedFields:
@@ -26,7 +26,7 @@ datasources:
uid: tempo
type: tempo
access: proxy
url: http://tempo:3200
url: https://tempo:3200
editable: false
jsonData:
tracesToLogsV2: