Закрыть внешний вход TLS и выдавать секреты через OpenBao.
LB ходит в API только с клиентским сертификатом нужной identity, остальные связи проверяют серверный сертификат, root token в приложение не попадает. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -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 "$@"
|
||||
Reference in New Issue
Block a user