LB ходит в API только с клиентским сертификатом нужной identity, остальные связи проверяют серверный сертификат, root token в приложение не попадает. Co-authored-by: Cursor <cursoragent@cursor.com>
11 lines
278 B
Bash
11 lines
278 B
Bash
#!/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 "$@"
|